浏览代码

boot2docker shellinit will set any and all env vars needed.

Docker-DCO-1.1-Signed-off-by: Sven Dowideit <SvenDowideit@docker.com> (github: SvenDowideit)
Sven Dowideit 11 年之前
父节点
当前提交
7797572249
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/sources/installation/mac.md

+ 1 - 1
docs/sources/installation/mac.md

@@ -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`