Created
June 4, 2017 07:58
-
-
Save mephir/ccb60d4db62b25dad65539d606e1c66c to your computer and use it in GitHub Desktop.
Docker bash aliases to ckeep it tidy
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_clean_images='docker rmi $(docker images -a --filter=dangling=true -q)' | |
alias docker_clean_ps='docker rm $(docker ps --filter=status=exited --filter=status=created -q)' | |
alias docker_clean_volumes='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