mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Implicitly use swarm:latest so that master and agent use the same version of swarm
Signed-off-by: Anthony Dahanne <anthony.dahanne@gmail.com>
This commit is contained in:
parent
143f3579b0
commit
4efe0def0a
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ that machine options that are needed by the `overlay` network driver.
|
|||
2. Create another host and add it to the Swarm cluster.
|
||||
|
||||
$ docker-machine create -d virtualbox \
|
||||
--swarm --swarm-image="swarm:1.0.0-rc2" \
|
||||
--swarm --swarm-image="swarm" \
|
||||
--swarm-discovery="consul://$(docker-machine ip mh-keystore):8500" \
|
||||
--engine-opt="cluster-store=consul://$(docker-machine ip mh-keystore):8500" \
|
||||
--engine-opt="cluster-advertise=eth1:2376" \
|
||||
|
|
Loading…
Reference in a new issue