Merge pull request #1083 from ehazlett/docs-update-env-shell

docs: update usage info for env shell options
This commit is contained in:
Evan Hazlett 2015-05-01 16:11:31 -04:00
commit 15fb6c3d79
2 changed files with 4 additions and 4 deletions

View File

@ -96,7 +96,7 @@ func cmdCreate(c *cli.Context) {
} }
info := fmt.Sprintf("%s env %s", c.App.Name, name) info := fmt.Sprintf("%s env %s", c.App.Name, name)
log.Infof("To point your Docker client at it, run this in your shell: %s", info) log.Infof("To see how to connect Docker to this machine, run: %s", info)
} }
// If the user has specified a driver, they should not see the flags for all // If the user has specified a driver, they should not see the flags for all

View File

@ -142,7 +142,7 @@ INFO[0012] Creating VirtualBox VM...
INFO[0019] Starting VirtualBox VM... INFO[0019] Starting VirtualBox VM...
INFO[0020] Waiting for VM to start... INFO[0020] Waiting for VM to start...
INFO[0053] "dev" has been created and is now the active machine. INFO[0053] "dev" has been created and is now the active machine.
INFO[0053] To point your Docker client at it, run this in your shell: eval "$(docker-machine env dev)" INFO[0053] To see how to connect Docker to this machine, run: docker-machine env dev"
``` ```
You can see the machine you have created by running the `docker-machine ls` command You can see the machine you have created by running the `docker-machine ls` command
@ -307,7 +307,7 @@ INFO[0000] Creating SSH key...
INFO[0000] Creating Digital Ocean droplet... INFO[0000] Creating Digital Ocean droplet...
INFO[0002] Waiting for SSH... INFO[0002] Waiting for SSH...
INFO[0085] "staging" has been created and is now the active machine INFO[0085] "staging" has been created and is now the active machine
INFO[0085] To point your Docker client at it, run this in your shell: eval "$(docker-machine env staging)" INFO[0085] To see how to connect Docker to this machine, run: docker-machine env staging"
``` ```
For convenience, `docker-machine` will use sensible defaults for choosing For convenience, `docker-machine` will use sensible defaults for choosing
@ -484,7 +484,7 @@ INFO[0000] Creating VirtualBox VM...
INFO[0007] Starting VirtualBox VM... INFO[0007] Starting VirtualBox VM...
INFO[0007] Waiting for VM to start... INFO[0007] Waiting for VM to start...
INFO[0038] "dev" has been created and is now the active machine. INFO[0038] "dev" has been created and is now the active machine.
INFO[0038] To point your Docker client at it, run this in your shell: eval "$(docker-machine env dev)" INFO[0038] To see how to connect Docker to this machine, run: docker-machine env dev"
``` ```
##### Specifying configuration options for the created Docker engine ##### Specifying configuration options for the created Docker engine