Created
March 6, 2016 16:02
-
-
Save mxr576/e4f00ad936f0445abb3c to your computer and use it in GitHub Desktop.
Three useful aliases to clean-up after yourself #Docker
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
alias docker-cli="docker rmi $(docker images -qf dangling=true)" | |
alias docker-clc="docker rm -v $(docker ps -aqf status=exited)" | |
alias docker-clv="docker volume rm $(docker volume ls -qf dangling=true)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment