1
0
mirror of https://github.com/xcad2k/cheat-sheets.git synced 2022-05-05 20:20:37 +03:00

Merge pull request #34 from njmsaikat/main

container bulk management, system command added
This commit is contained in:
Christian
2022-01-30 11:53:13 +01:00
committed by GitHub

View File

@@ -31,6 +31,9 @@ COMMAND | DESCRIPTION
`docker start $(docker ps -a -q)` | To start all the stopped and running containers `docker start $(docker ps -a -q)` | To start all the stopped and running containers
`docker rm -vf $(docker ps -a -q)` | To delete all containers including its volumes use `docker rm -vf $(docker ps -a -q)` | To delete all containers including its volumes use
`docker rmi -f $(docker images -a -q)` | To delete all the images `docker rmi -f $(docker images -a -q)` | To delete all the images
`docker system prune` | To delete all dangling and unused images, containers, cache and volumes
`docker system prune -a` | To delete all used and unused images
`docker system prune --volumes` | To delete all docker volumes
### Parameters ### Parameters
COMMAND | DESCRIPTION COMMAND | DESCRIPTION
---|--- ---|---