Last active
May 15, 2020 04:59
-
-
Save somat/3f79ff267175f2436cc2853fdaf5574d 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
docker rmi $(docker images -f "dangling=true" -q) | |
docker container rm $(docker container ls -aq) | |
Stop all running containers | |
docker stop $(docker ps -aq) | |
Remove all containers | |
docker rm $(docker ps -aq) | |
Remove all images | |
docker rmi $(docker images -q) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment