mirror of https://github.com/docker/docs.git
Removing superfluous example command
This commit is contained in:
parent
ace5a7a952
commit
d621663c6f
|
@ -177,13 +177,9 @@ host as one of the Swarm managers.
|
|||
|
||||
2. From the output, copy the `eth0` IP address from `inet addr`.
|
||||
|
||||
3. To set up a discovery backend, use the following command:
|
||||
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 -advertise=<consul0_ip>
|
||||
|
||||
Replacing `<consul0_ip>` with the IP address from the previous command, for example:
|
||||
|
||||
$ docker run -d -p 8500:8500 --name=consul progrium/consul -server -bootstrap -advertise=172.30.0.161
|
||||
|
||||
4. Enter `docker ps`.
|
||||
|
||||
|
|
Loading…
Reference in New Issue