mirror of https://github.com/docker/docs.git
Merge pull request #300 from amincheloh/patch-1
Update swarm/install-manual.md
This commit is contained in:
commit
1bc1addd32
|
@ -174,9 +174,9 @@ host as one of the Swarm managers.
|
|||
|
||||
2. From the output, copy the `eth0` IP address from `inet addr`.
|
||||
|
||||
3. Paste the launch command into the command line:
|
||||
3. To set up a discovery backend, use the following command, replacing `<consul0_ip>` with the IP address from the previous command:
|
||||
|
||||
$ docker run -d -p 8500:8500 --name=consul progrium/consul -server -bootstrap
|
||||
$ docker run -d -p 8500:8500 --name=consul progrium/consul -server -bootstrap -advertise=<consul0_ip>
|
||||
|
||||
4. Enter `docker ps`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue