mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
port is required, otherwise it would give an error "--advertise should be of the form ip:port or hostname:port"
This commit is contained in:
parent
cb9c0986bb
commit
71ad20f8dc
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue