github.com/khulnasoft/cli@v0.0.0-20240402070845-01bcad7beefa/docs/reference/commandline/node_promote.md (about)

     1  # node promote
     2  
     3  <!---MARKER_GEN_START-->
     4  Promote one or more nodes to manager in the swarm
     5  
     6  
     7  <!---MARKER_GEN_END-->
     8  
     9  ## Description
    10  
    11  Promotes a node to manager. This command can only be executed on a manager node.
    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
    17  > [Swarm mode section](https://docs.docker.com/engine/swarm/) in the
    18  > documentation.
    19  
    20  ## Examples
    21  
    22  ```console
    23  $ docker node promote <node name>
    24  ```
    25  
    26  ## Related commands
    27  
    28  * [node demote](node_demote.md)
    29  * [node inspect](node_inspect.md)
    30  * [node ls](node_ls.md)
    31  * [node ps](node_ps.md)
    32  * [node rm](node_rm.md)
    33  * [node update](node_update.md)