Last active
May 24, 2017 20:43
-
-
Save yuya-oc/927acdb15414d55615f2 to your computer and use it in GitHub Desktop.
docker-env command to set docker-machine env variables
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
# add to .bashrc or .bash_profile | |
function docker-env(){ | |
eval "$(docker-machine env $@)" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment