mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
f98f596c19
Signed-off-by: Charles Smith <charles.smith@docker.com>
27 lines
571 B
Markdown
27 lines
571 B
Markdown
<!--[metadata]>
|
|
+++
|
|
title = "node demote"
|
|
description = "The node demote command description and usage"
|
|
keywords = ["node, demote"]
|
|
[menu.main]
|
|
parent = "smn_cli"
|
|
+++
|
|
<![end-metadata]-->
|
|
|
|
# node demote
|
|
|
|
Usage: docker node demote NODE [NODE...]
|
|
|
|
Demote a node as manager in the swarm
|
|
|
|
Demotes an existing manager so that it is no longer a manager. This command targets a docker engine that is a manager in the swarm cluster.
|
|
|
|
|
|
```bash
|
|
$ docker node demote <node name>
|
|
```
|
|
|
|
## Related information
|
|
|
|
* [node accept](node_accept.md)
|
|
* [node promote](node_promote.md)
|