Merge pull request #25792 from lixiaobing10051267/masterSwarmLeave

Specify woker node for docker swarm leave command
(cherry picked from commit 90308fd783)

Signed-off-by: Charles Smith <charles.smith@docker.com>
This commit is contained in:
Sebastiaan van Stijn 2016-08-18 17:08:41 +02:00 committed by Charles Smith
parent fdb5140893
commit e097320c92

View file

@ -33,7 +33,7 @@ dkp8vy1dq1kxleu9g4u78tlag worker1 Ready Active Reachable
dvfxp4zseq4s0rih1selh0d20 * manager1 Ready Active Leader dvfxp4zseq4s0rih1selh0d20 * manager1 Ready Active Leader
``` ```
On a worker node: On a worker node, worker2 in the following example:
```bash ```bash
$ docker swarm leave $ docker swarm leave
Node left the default swarm. Node left the default swarm.