Skip to content

Instantly share code, notes, and snippets.

@ehazlett
Created December 12, 2014 20:08
Show Gist options
  • Save ehazlett/eeab7944a0b2117532a5 to your computer and use it in GitHub Desktop.
Save ehazlett/eeab7944a0b2117532a5 to your computer and use it in GitHub Desktop.
ehazlett@ejh-mbp ~/Sync> ./machine-darwin create -d virtualbox machine-test
INFO[0000] Downloading boot2docker...
INFO[0005] Creating SSH key...
INFO[0005] Creating VirtualBox VM...
INFO[0010] Starting VirtualBox VM...
INFO[0011] Waiting for VM to start...
INFO[0046] "machine-test" has been created and is now the active machine. To point Docker at this machine, run: export DOCKER_HOST=$(machine url) DOCKER_AUTH=identity
ehazlett@ejh-mbp ~/Sync> ./machine-darwin ls
NAME ACTIVE DRIVER STATE URL
machine-test * virtualbox Running tcp://192.168.99.100:2376
ehazlett@ejh-mbp ~/Sync> ./machine-darwin url
NAME:
url - Get the URL of a machine
USAGE:
command url [arguments...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment