Last active
June 8, 2017 04:02
-
-
Save r1w1s1/65b6f73038971ea5991c99d7fa2f717b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stop all containers: | |
sudo docker kill $(sudo docker ps -q) | |
remove all containers | |
sudo docker rm $(sudo docker ps -a -q) | |
remove all docker images | |
sudo docker rmi $(sudo docker images -q) | |
remove all dangling (unused) images | |
sudo docker rmi $(sudo docker images -q -f dangling=true) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment