From d7d91a4f1dafdf8d6b8a63d571ccea5fa434da89 Mon Sep 17 00:00:00 2001 From: Nirmal Mehta Date: Wed, 1 Apr 2015 10:46:43 -0400 Subject: [PATCH] Corrected command to load proper swarm environment --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 865dd3676d..252d3a06d9 100644 --- a/docs/index.md +++ b/docs/index.md @@ -314,7 +314,7 @@ docker-machine create \ ``` You now have a Swarm cluster across two nodes. -To connect to the Swarm master, use `docker-machine env --swarm swarm-master` +To connect to the Swarm master, use `eval $(docker-machine env --swarm swarm-master)` For example: