From 71ad20f8dc8060a7dd8ed1607a6f80535abac5e5 Mon Sep 17 00:00:00 2001 From: Mikhail Vasilenko Date: Fri, 28 Apr 2017 18:12:18 +0300 Subject: [PATCH] port is required, otherwise it would give an error "--advertise should be of the form ip:port or hostname:port" --- docker/swarm-ha/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/swarm-ha/README.md b/docker/swarm-ha/README.md index 1368c5d..01ea7fe 100644 --- a/docker/swarm-ha/README.md +++ b/docker/swarm-ha/README.md @@ -30,7 +30,7 @@ These instructions assume you've already installed VMware Fusion, Vagrant, and t 5. Use `vagrant ssh docker-01` to connect to the first Docker host and join the Docker Engine to a Swarm cluster: - docker run -d swarm join --addr=192.168.100.104 consul://192.168.100.101:8500/swarm + docker run -d swarm join --addr=192.168.100.104:2375 consul://192.168.100.101:8500/swarm If you changed the private IP addresses in `machines.yml`, be sure to supply the appropriate IP addresses from that file in the command above.