Last active
August 29, 2015 14:22
-
-
Save montanaflynn/f8057f36768111d7f1ca to your computer and use it in GitHub Desktop.
Docker aliases
This file contains hidden or 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
# Stats for all running containers | |
alias docker-stats-all='docker ps -q | xargs docker stats' | |
# Remove all stopped containers | |
alias docker-rm-containers='docker ps -a -q | xargs docker rm' | |
# Remove all unused unnamed images | |
alias docker-rmi-junk='docker images | grep \<none\> | awk '{print $3}' | xargs docker rmi' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment