2016-06-13 22:57:19 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "node rm"
|
|
|
|
description = "The node rm command description and usage"
|
|
|
|
keywords = ["node, remove"]
|
2016-06-20 07:54:53 -04:00
|
|
|
advisory = "rc"
|
2016-06-13 22:57:19 -04:00
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
# node rm
|
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
```markdown
|
|
|
|
Usage: docker node rm NODE [NODE...]
|
2016-06-13 22:57:19 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Remove a node from the swarm
|
2016-06-13 22:57:19 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Aliases:
|
|
|
|
rm, remove
|
2016-06-13 22:57:19 -04:00
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
```
|
|
|
|
|
|
|
|
Removes specified nodes from a swarm. Rejects nodes with `Pending`
|
|
|
|
membership from the swarm.
|
2016-06-13 22:57:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
Example output:
|
|
|
|
|
|
|
|
$ docker node rm swarm-node-02
|
|
|
|
Node swarm-node-02 removed from Swarm
|
|
|
|
|
|
|
|
|
|
|
|
## Related information
|
|
|
|
|
|
|
|
* [node inspect](node_inspect.md)
|
|
|
|
* [node update](node_update.md)
|
|
|
|
* [node tasks](node_tasks.md)
|
|
|
|
* [node ls](node_ls.md)
|