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

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