26 lines
694 B
YAML
26 lines
694 B
YAML
|
command: docker node promote
|
||
|
short: Promote one or more nodes to manager in the swarm
|
||
|
long: |-
|
||
|
Promotes a node to manager. This command can only be executed on a manager node.
|
||
|
|
||
|
> **Note**
|
||
|
>
|
||
|
> This is a cluster management command, and must be executed on a swarm
|
||
|
> manager node. To learn about managers and workers, refer to the
|
||
|
> [Swarm mode section](https://docs.docker.com/engine/swarm/) in the
|
||
|
> documentation.
|
||
|
usage: docker node promote NODE [NODE...]
|
||
|
pname: docker node
|
||
|
plink: docker_node.yaml
|
||
|
examples: |-
|
||
|
```bash
|
||
|
$ docker node promote <node name>
|
||
|
```
|
||
|
deprecated: false
|
||
|
min_api_version: "1.24"
|
||
|
experimental: false
|
||
|
experimentalcli: false
|
||
|
kubernetes: false
|
||
|
swarm: true
|
||
|
|