Created
October 6, 2015 15:24
-
-
Save chipsenkbeil/d664d810c20bf79aa38d to your computer and use it in GitHub Desktop.
Some common Docker lines
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
# Delete all containers including those that have completed | |
docker rm -f `docker ps -aq` | |
# Delete all images with <none> as the label | |
docker rmi `docker images | grep "<none>" | awk '{print $3}'` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment