Created
January 10, 2016 22:16
-
-
Save gtrias/4d6331c6db0bc6ff03f4 to your computer and use it in GitHub Desktop.
Docker cleaning unused containers
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
docker rm `docker ps -a | grep Exited | awk '{print $1 }'` | |
docker rmi `docker images -aq` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment