Created
July 12, 2016 09:00
-
-
Save yleflour/7524431e501ed47e5f8f3d9f1768f0c0 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-switch='function _switch(){eval $(docker-machine env $1);echo "Switched to $1 machine"};_switch' | |
alias docker-bash='function _bash(){docker-compose run $1 bash };_bash' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment