Created
September 15, 2015 14:43
-
-
Save leoleozhu/7b63843377574280d761 to your computer and use it in GitHub Desktop.
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
VM=`docker-machine ls 2>/dev/null | sed -n 2p | awk '{print $1}'` | |
[ -z "$VM" ] && VM=default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment