mirror of https://github.com/docker/cli.git
41 lines
632 B
Markdown
41 lines
632 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "node rm"
|
|
description = "The node rm command description and usage"
|
|
keywords = ["node, remove"]
|
|
advisory = "rc"
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# node rm
|
|
|
|
```markdown
|
|
Usage: docker node rm NODE [NODE...]
|
|
|
|
Remove a node from the swarm
|
|
|
|
Aliases:
|
|
rm, remove
|
|
|
|
Options:
|
|
--help Print usage
|
|
```
|
|
|
|
Removes specified nodes from a swarm.
|
|
|
|
|
|
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)
|