Created
May 20, 2019 21:24
-
-
Save tcelestino/2abc44bd75d841e936307eab3b67589d to your computer and use it in GitHub Desktop.
alias to docker clean out
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 | |
alias dockercleand='docker rmi $(docker images -q)' #delete all images | |
alias dockercleanu='docker rmi $(docker images -q -f dangling=true)' # delete all untagged images | |
alias dockercleans='docker rm $(docker ps -a -q)' #delete all stopped images |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment