Update README.md
This commit is contained in:
1 parent
b066b8e767
commit
f112431351
1 file changed
+9
-2
@@ -177,6 +177,13 @@ if network required between host and docker container on a macvlan docker networ
|
||||
|
||||
write to docker log buffer
|
||||
|
||||
```
|
||||
``` bash
|
||||
echo "Hello World!" >> /proc/1/fd/1
|
||||
```
|
||||
```
|
||||
|
||||
clear all docker logs
|
||||
|
||||
``` bash
|
||||
truncate -s 0 /var/lib/docker/containers/*/*-json.log;
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user