Created
October 13, 2015 21:36
-
-
Save desbo/1842093f640972bd5cc8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/bash | |
machine=$1 | |
[ -z "$machine" ] && machine="default" | |
docker-machine start $machine | |
eval "$(docker-machine env $machine)" | |
echo "VM $machine running: $DOCKER_HOST" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment