Skip to content

fix markdown syntax issue #265

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 19, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions engine/reference/commandline/swarm_leave.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ without using `--force`. Only use `--force` in situations where the swarm will
no longer be used after the manager leaves, such as in a single-node swarm.

Consider the following swarm, as seen from the manager:

```bash
$ docker node ls
ID HOSTNAME STATUS AVAILABILITY MANAGER STATUS
Expand All @@ -41,10 +42,12 @@ dvfxp4zseq4s0rih1selh0d20 * manager1 Ready Active Leader
```

To remove `worker2`, issue the following command from `worker2` itself:

```bash
$ docker swarm leave
Node left the default swarm.
```

To remove an inactive node, use the [`node rm`](node_rm.md) command instead.

## Related information
Expand Down