Kevin Alvarez 79c9e527a3
docs: generate markdown
Keep frontmatter for docker, dockerd and index markdown files.
Also needs to move cli.md > docker.md before generation and
then move it back because cli.md is needed for yaml generation on docs
website: https://github.com/docker/cli/pull/3924#discussion_r1059986605

Signed-off-by: Kevin Alvarez <crazy-max@users.noreply.github.com>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2023-01-06 22:36:47 +01:00

1.8 KiB

swarm update

Update the swarm

Options

Name Type Default Description
--autolock Change manager autolocking setting (true|false)
--cert-expiry duration 2160h0m0s Validity period for node certificates (ns|us|ms|s|m|h)
--dispatcher-heartbeat duration 5s Dispatcher heartbeat period (ns|us|ms|s|m|h)
--external-ca external-ca Specifications of one or more certificate signing endpoints
--max-snapshots uint64 0 Number of additional Raft snapshots to retain
--snapshot-interval uint64 10000 Number of log entries between Raft snapshots
--task-history-limit int64 5 Task history retention limit

Description

Updates a swarm with new parameter values.

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 in the documentation.

Examples

$ docker swarm update --cert-expiry 720h