Created
June 30, 2016 14:27
-
-
Save jrop/0ad1c1996c0b4057d374fd2b646ec35b to your computer and use it in GitHub Desktop.
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 | |
# | |
eval $(docker-machine env default) | |
alias dip="docker-machine ip default" | |
alias d="docker" | |
alias dm="docker-machine" | |
alias dclean="d images; echo ========; d images | grep '<none>' | tr -s ' ' | cut -d ' ' -f 3 | cut -d ':' -f 2 | xargs -n 1 echo docker rmi" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment