Implicitly use swarm:latest so that master and agent use the same version of swarm

Signed-off-by: Anthony Dahanne <anthony.dahanne@gmail.com>
Upstream-commit: 4efe0def0ac2a8b6b74a818d23864f62abfaa521
Component: engine
This commit is contained in:
Anthony Dahanne
2015-11-09 15:05:17 -08:00
parent 7523555ae3
commit 04e53e786a

View File

@ -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" \