mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
boot2docker shellinit will set any and all env vars needed.
Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
This commit is contained in:
parent
e909bbccc3
commit
7797572249
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ VirtualBox VM, Docker itself, and the Boot2Docker management tool.
|
|||
|
||||
$ boot2docker init
|
||||
$ boot2docker start
|
||||
$ export DOCKER_HOST=tcp://$(boot2docker ip 2>/dev/null):2375
|
||||
$ $(boot2docker shellinit)
|
||||
|
||||
A terminal window will open and you'll see the virtual machine starting up.
|
||||
Once you have an initialized virtual machine, you can control it with `boot2docker stop`
|
||||
|
|
Loading…
Reference in a new issue