Skip to content

Instantly share code, notes, and snippets.

@tcelestino
Created May 20, 2019 21:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tcelestino/2abc44bd75d841e936307eab3b67589d to your computer and use it in GitHub Desktop.
Save tcelestino/2abc44bd75d841e936307eab3b67589d to your computer and use it in GitHub Desktop.
alias to docker clean out
# 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