docker swarm update
Update the swarm
Swarm This command works with the Swarm orchestrator.
docker swarm update [OPTIONS]
Updates a swarm with new parameter values.
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 in the documentation.
|Change manager autolocking setting (true|false)|
|Validity period for node certificates (ns|us|ms|s|m|h)|
|Dispatcher heartbeat period (ns|us|ms|s|m|h)|
|Specifications of one or more certificate signing endpoints|
|API 1.25+ Number of additional Raft snapshots to retain|
|API 1.25+ Number of log entries between Raft snapshots|
|Task history retention limit|
$ docker swarm update --cert-expiry 720h