Quellcode durchsuchen

Merge pull request #8116 from SvenDowideit/use-boot2docker-shellinit

boot2docker shellinit will set any and all env vars needed.
James Turnbull vor 10 Jahren
Ursprung
Commit
742eb7e001
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 init
 	     $ boot2docker start
 	     $ 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. 
 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`
 Once you have an initialized virtual machine, you can control it with `boot2docker stop`