mirror of
https://github.com/docker/docs.git
synced 2026-04-05 10:48:55 +07:00
27 lines
878 B
YAML
27 lines
878 B
YAML
command: docker swarm init
|
|
short: Initialize a swarm
|
|
long: Initialize a swarm
|
|
usage: docker swarm init [OPTIONS]
|
|
pname: docker swarm
|
|
plink: docker_swarm.yaml
|
|
options:
|
|
- option: advertise-addr
|
|
description: 'Advertised address (format: <ip|interface>[:port])'
|
|
- option: cert-expiry
|
|
default_value: 2160h0m0s
|
|
description: Validity period for node certificates
|
|
- option: dispatcher-heartbeat
|
|
default_value: 5s
|
|
description: Dispatcher heartbeat period
|
|
- option: external-ca
|
|
description: Specifications of one or more certificate signing endpoints
|
|
- option: force-new-cluster
|
|
default_value: "false"
|
|
description: Force create a new cluster from current state.
|
|
- option: listen-addr
|
|
default_value: 0.0.0.0:2377
|
|
description: 'Listen address (format: <ip|interface>[:port])'
|
|
- option: task-history-limit
|
|
default_value: "5"
|
|
description: Task history retention limit
|