Created
July 28, 2016 13:37
-
-
Save kytomaki/8cd56bb9eec3ed425b3956d7e6974863 to your computer and use it in GitHub Desktop.
Clean up docker clutter.
This file contains 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 running containers | |
docker kill $(docker ps -q) | |
# Remove containers | |
docker rm -f $(docker ps -aq) | |
# Remove images | |
docker rmi -f $(docker images -qa) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment