changes to manual swarm install

- separate the node setup steps from the manager setup steps.
 - consistency of <manager_port> in all steps

Signed-off-by: Morgan Bauer <mbauer@us.ibm.com>
This commit is contained in:
Morgan Bauer 2015-08-26 15:55:54 -07:00
parent 5c66f2b3a0
commit 7b593c0140
No known key found for this signature in database
GPG Key ID: 23F15C502128F348
1 changed files with 9 additions and 3 deletions

View File

@ -67,13 +67,19 @@ This example uses the Docker Hub based `token` discovery service. Log into **eac
$ docker run -d swarm join --addr=172.31.40.100:2375 token://6856663cdefdec325839a4b7e1de38e8
3. Start the Swarm manager on any machine or your laptop.
## Configure a manager
Once you have your nodes established, set up a manager to control the swarm.
1. Start the Swarm manager on any machine or your laptop.
The following command illustrates how to do this:
docker run -d -p <swarm_port>:2375 swarm manage token://<cluster_id>
docker run -d -p <manager_port>:2375 swarm manage token://<cluster_id>
4. Once the manager is running, check your configuration by running `docker info` as follows:
The manager is exposed and listening on `<manager_port>`.
2. Once the manager is running, check your configuration by running `docker info` as follows:
docker -H tcp://<manager_ip:manager_port> info