瀏覽代碼

Add info about the relationship between swarm leave and node rm

Signed-off-by: Misty Stanley-Jones <misty@docker.com>
Misty Stanley-Jones 8 年之前
父節點
當前提交
e2ce870371
共有 1 個文件被更改,包括 6 次插入1 次删除
  1. 6 1
      docs/reference/commandline/swarm_leave.md

+ 6 - 1
docs/reference/commandline/swarm_leave.md

@@ -44,11 +44,16 @@ dvfxp4zseq4s0rih1selh0d20 *  manager1  Ready   Active        Leader
 ```
 ```
 
 
 To remove `worker2`, issue the following command from `worker2` itself:
 To remove `worker2`, issue the following command from `worker2` itself:
+
 ```bash
 ```bash
 $ docker swarm leave
 $ docker swarm leave
 Node left the default swarm.
 Node left the default swarm.
 ```
 ```
-To remove an inactive node, use the [`node rm`](node_rm.md) command instead.
+
+The node will still appear in the node list, and marked as `down`. It no longer
+affects swarm operation, but a long list of `down` nodes can clutter the node
+list. To remove an inactive node from the list, use the [`node rm`](node_rm.md)
+command.
 
 
 ## Related information
 ## Related information