github.com/yogeshlonkar/moby@v1.13.2-0.20201203103638-c0b64beaea94/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  <!-- This file is maintained within the docker/docker Github
     8       repository at https://github.com/docker/docker/. Make all
     9       pull requests against that repo. If you see this file in
    10       another repository, consider it read-only there, as it will
    11       periodically be overwritten by the definitive file. Pull
    12       requests which include edits to this file in other repositories
    13       will be rejected.
    14  -->
    15  
    16  # node demote
    17  
    18  ```markdown
    19  Usage:  docker node demote NODE [NODE...]
    20  
    21  Demote one or more nodes from manager in the swarm
    22  
    23  Options:
    24        --help   Print usage
    25  
    26  ```
    27  
    28  ## Description
    29  
    30  Demotes an existing manager so that it is no longer a manager. This command
    31  targets a docker engine that is a manager in the swarm.
    32  
    33  
    34  ## Examples
    35  
    36  ```bash
    37  $ docker node demote <node name>
    38  ```
    39  
    40  ## Related commands
    41  
    42  * [node inspect](node_inspect.md)
    43  * [node ls](node_ls.md)
    44  * [node promote](node_promote.md)
    45  * [node ps](node_ps.md)
    46  * [node rm](node_rm.md)
    47  * [node update](node_update.md)