From 40eef2da443d06c53b6da75e121a5d7901193eb7 Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Wed, 19 Oct 2016 01:29:15 +0800 Subject: [PATCH] fix markdown syntax issue The markdown issue generated a strange html page at https://docs.docker.com/engine/reference/commandline/swarm_leave/ --- engine/reference/commandline/swarm_leave.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/engine/reference/commandline/swarm_leave.md b/engine/reference/commandline/swarm_leave.md index d350b00351..da232baaed 100644 --- a/engine/reference/commandline/swarm_leave.md +++ b/engine/reference/commandline/swarm_leave.md @@ -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 @@ -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