mirror of https://github.com/docker/docs.git
Merge pull request #938 from normalfaults/patch-1
Corrected command to load proper swarm environment
This commit is contained in:
commit
10c390fcb9
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue