github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/cli/docs/reference/commandline/node_demote.md (about)

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