Commit 3c39a814901bd58130c1d547a41281d455daf133
1 parent
95990d4f
useful docker commands added to the documentation
Showing
1 changed file
with
4 additions
and
0 deletions
docu/docker.md
... | ... | @@ -14,6 +14,10 @@ Docker compose |
14 | 14 | Docker |
15 | 15 | |
16 | 16 | - `docker ps`: list all containers running on machine |
17 | +- `docker ps -a`: lists all existing containers on machine | |
18 | +- `docker stop $(docker ps -a -q)`: stop all running containers | |
19 | +- `docker rm $(docker ps -a -q)`: delete all existing containers | |
20 | +- `docker rmi $(docker images -q -a)`: delete all existing images | |
17 | 21 | |
18 | 22 | ## Known issues and troubleshooting |
19 | 23 | ... | ... |