Last active
October 10, 2019 09:28
-
-
Save gorshkov-leonid/872218f3e856581e5e18263a2bee0894 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
#remove all containers | |
docker rm -f $(docker ps -a -q) | |
#al images | |
docker rmi -f $(docker images -q) | |
#remove all containers / images / volumes - dangling (not associated with a container) | |
docker system prune | |
#remove all | |
docker system prune -a | |
# | |
docker images -f dangling=true | |
docker images purge | |
# | |
docker volume ls -f dangling=true | |
docker volume prune |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment