Skip to content

Instantly share code, notes, and snippets.

@yuya-oc
Last active May 24, 2017 20:43
Show Gist options
  • Save yuya-oc/927acdb15414d55615f2 to your computer and use it in GitHub Desktop.
Save yuya-oc/927acdb15414d55615f2 to your computer and use it in GitHub Desktop.
docker-env command to set docker-machine env variables
# 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