mirror of https://github.com/docker/docs.git
fix markdown syntax issue
The markdown issue generated a strange html page at https://docs.docker.com/engine/reference/commandline/swarm_leave/
This commit is contained in:
parent
c8b449e7e0
commit
40eef2da44
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue