mirror of
https://github.com/docker/cli.git
synced 2025-09-02 10:21:16 +03:00
Implement the proposal from https://github.com/docker/docker/issues/24430#issuecomment-233100121 Removes acceptance policy and secret in favor of an automatically generated join token that combines the secret, CA hash, and manager/worker role into a single opaque string. Adds a docker swarm join-token subcommand to inspect and rotate the tokens. Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
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)
|