Last active
November 6, 2015 07:58
-
-
Save hhcordero/dd9c063902e49e050297 to your computer and use it in GitHub Desktop.
Docker Cheat Sheet
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
# Remove dangling images without warning if no image found | |
docker images -qf dangling=true | xargs docker rmi | |
# Remove exited container | |
docker rm -v $(docker ps -a -q -f status=exited) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment