mirror of https://github.com/docker/docs.git
Merge pull request #2230 from kolyshkin/patch-1
install-manual: fix sec. swarm manager connect
This commit is contained in:
commit
c5f33ecb03
|
@ -221,7 +221,7 @@ After creating the discovery backend, you can create the Swarm managers. In this
|
|||
|
||||
Replacing `<manager1_ip>` with the IP address from the previous command, for example:
|
||||
|
||||
$ docker run -d swarm manage -H :4000 --replication --advertise <manager1_ip>:4000 consul://172.30.0.161:8500
|
||||
$ docker run -d -p 4000:4000 swarm manage -H :4000 --replication --advertise <manager1_ip>:4000 consul://172.30.0.161:8500
|
||||
|
||||
5. Enter `docker ps`to verify that a Swarm container is running.
|
||||
|
||||
|
|
Loading…
Reference in New Issue