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-07 14:43:18 -04:00
|
|
|
Demote a node from manager in the swarm
|
|
|
|
|
|
|
|
Options:
|
|
|
|
--help Print usage
|
|
|
|
|
|
|
|
```
|
2016-06-13 22:57:19 -04:00
|
|
|
|
2016-06-28 14:53:39 -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 cluster.
|
2016-06-13 22:57:19 -04:00
|
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ docker node demote <node name>
|
|
|
|
```
|
|
|
|
|
|
|
|
## Related information
|
|
|
|
|
|
|
|
* [node promote](node_promote.md)
|