From 744a8112068fbe4ebc155e6a1fef6fb17c1d8dca Mon Sep 17 00:00:00 2001 From: skohar Date: Mon, 22 Feb 2016 17:22:30 +0900 Subject: [PATCH] Remove redundant spaces Signed-off-by: skohar --- docs/install-manual.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/install-manual.md b/docs/install-manual.md index af0c5446b0..85e43102dd 100644 --- a/docs/install-manual.md +++ b/docs/install-manual.md @@ -120,17 +120,17 @@ After creating the discovery backend, you can create the Swarm managers. Here, y To create the primary manager in a high-availability Swarm cluster, use the following syntax: - $ docker run -d -p 4000:4000 swarm manage -H :4000 --replication --advertise :4000 consul:// + $ docker run -d -p 4000:4000 swarm manage -H :4000 --replication --advertise :4000 consul:// Because this is particular manager is on the same "manager0 & consul0" instance as the consul node, replace both `` and `` with the same IP address. For example: - $ docker run -d -p 4000:4000 swarm manage -H :4000 --replication --advertise 172.30.0.161:4000 consul://172.30.0.161:8500 + $ docker run -d -p 4000:4000 swarm manage -H :4000 --replication --advertise 172.30.0.161:4000 consul://172.30.0.161:8500 Enter `docker ps`. From the output, verify that both a swarm and an consul container are running. Then, disconnect from the "manager0 & consul0" instance. Connect to the "manager1" instance and use `ifconfig` to get its IP address. Then, enter the following command, replacing ``. For example: - $ docker run -d swarm manage -H :4000 --replication --advertise :4000 consul://172.30.0.161:8500 + $ docker run -d swarm manage -H :4000 --replication --advertise :4000 consul://172.30.0.161:8500 Enter `docker ps` and, from the output, verify that a swarm container is running. @@ -178,7 +178,7 @@ Shut down the primary master, replacing `` with the container id or nam Start the swarm master. For example: - $ docker run -d -p 4000:4000 swarm manage -H :4000 --replication --advertise 172.30.0.161:4000 consul://172.30.0.161:237 + $ docker run -d -p 4000:4000 swarm manage -H :4000 --replication --advertise 172.30.0.161:4000 consul://172.30.0.161:237 Look at the logs, replacing `` with the new container id or name: