Merge pull request #300 from amincheloh/patch-1

Update swarm/install-manual.md
This commit is contained in:
Misty Stanley-Jones 2016-11-28 14:53:31 -08:00 committed by GitHub
commit 1bc1addd32
1 changed files with 2 additions and 2 deletions

View File

@ -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`.