Last active
December 8, 2015 02:56
-
-
Save samloh84/0a56563e456879bb7fc5 to your computer and use it in GitHub Desktop.
docker aliases
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-ip='docker-machine ip default' | |
alias docker-env='eval "$(docker-machine env default)"' | |
alias docker-restart='docker-machine restart default; eval "$(docker-machine env default)"' | |
alias docker-cleanup-images='docker rmi $(docker images -q)' | |
alias docker-cleanup-containers='docker rm $(docker ps -aq)' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment