...

Text file src/github.com/docker/cli/docs/reference/commandline/node_demote.md

Documentation: github.com/docker/cli/docs/reference/commandline

     1# node demote
     2
     3<!---MARKER_GEN_START-->
     4Demote one or more nodes from manager in the swarm
     5
     6
     7<!---MARKER_GEN_END-->
     8
     9## Description
    10
    11Demotes an existing manager so that it is no longer a manager.
    12
    13> **Note**
    14>
    15> This is a cluster management command, and must be executed on a swarm
    16> manager node. To learn about managers and workers, refer to the [Swarm mode
    17> section](https://docs.docker.com/engine/swarm/) in the documentation.
    18
    19## Examples
    20
    21```console
    22$ docker node demote <node name>
    23```
    24
    25## Related commands
    26
    27* [node inspect](node_inspect.md)
    28* [node ls](node_ls.md)
    29* [node promote](node_promote.md)
    30* [node ps](node_ps.md)
    31* [node rm](node_rm.md)
    32* [node update](node_update.md)

View as plain text