2016-06-13 22:57:19 -04:00
|
|
|
<!--[metadata]>
|
|
|
|
+++
|
|
|
|
title = "node demote"
|
|
|
|
description = "The node demote command description and usage"
|
|
|
|
keywords = ["node, demote"]
|
|
|
|
[menu.main]
|
|
|
|
parent = "smn_cli"
|
|
|
|
+++
|
|
|
|
<![end-metadata]-->
|
|
|
|
|
|
|
|
# node demote
|
|
|
|
|
2016-07-07 14:43:18 -04:00
|
|
|
```markdown
|
|
|
|
Usage: docker node demote NODE [NODE...]
|
2016-06-13 22:57:19 -04:00
|
|
|
|
2016-07-29 13:41:52 -04:00
|
|
|
Demote one or more nodes from manager in the swarm
|
2016-07-07 14:43:18 -04:00
|
|
|
|
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
|
|
|
|
```
|
2016-06-13 22:57:19 -04:00
|
|
|
|
2016-07-25 19:24:32 -04:00
|
|
|
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.
|
2016-06-13 22:57:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker node demote <node name>
|
|
|
|
```
|
|
|
|
|
|
|
|
## Related information
|
|
|
|
|
|
|
|
* [node promote](node_promote.md)
|