Update README.md
This commit is contained in:
14
README.md
14
README.md
@@ -187,3 +187,17 @@ clear all docker logs
|
|||||||
truncate -s 0 /var/lib/docker/containers/*/*-json.log;
|
truncate -s 0 /var/lib/docker/containers/*/*-json.log;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## delete all images
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker rmi -f $(docker images -aq)
|
||||||
|
```
|
||||||
|
|
||||||
|
## delete all images
|
||||||
|
|
||||||
|
``` bash
|
||||||
|
docker volume rm $(docker volume ls -qf dangling=true)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user