docker-swarm-init man page

docker-swarm-init ā€” Initialize a swarm


docker swarm init [Options]


Initialize a swarm



Advertised address (format: <ip|interface>[:port])


Enable manager autolocking (requiring an unlock key to start a stopped manager)


Availability of the node ("active"|"pause"|"drain")


Validity period for node certificates (ns|us|ms|s|m|h)


Address or interface to use for data path traffic (format: <ip|interface>)


Dispatcher heartbeat period (ns|us|ms|s|m|h)


Specifications of one or more certificate signing endpoints


Force create a new cluster from current state

-h, --help[=false]

help for init


Listen address (format: <ip|interface>[:port])


Number of additional Raft snapshots to retain


Number of log entries between Raft snapshots


Task history retention limit

See Also


Referenced By


Aug 2018 Docker Community