mirror of
https://github.com/clearlinux/docker.git
synced 2026-08-26 18:17:24 +00: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> (cherry picked from commit 4efe0def0ac2a8b6b74a818d23864f62abfaa521)
This commit is contained in:
committed by
Tibor Vass
parent
c7055ebf84
commit
fe7768f54d
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user