DOCKER(1)
π DOCKER(1) β the Docker User Manuals era β¨
okay bestie, welcome to the Docker User Manuals, section 1, and we are about to talk about the most glow-up-coded command in the whole swarm situation. buckle up π
πΈ NAME πΈ
docker-swarm-update β Update the swarm
yes that's it. that's the whole name. update the swarm. short, sweet, iconic, main character energy π
π¦ SYNOPSIS π¦
docker swarm update [OPTIONS]
that's the vibe. command, then options. no cap. β¨
π DESCRIPTION π
Update the swarm.
like... that's literally the whole thing the manpage says and honestly? it ate. you run it, you tweak your swarm's settings, the swarm updates. obsessed. no extra lore, no plot twist, just a manager being a manager. π«Ά
heads up bestie: you're changing swarm-wide config here, so this is a manager node kind of activity. don't go wild on a worker and then act surprised π
β¨ OPTIONS β¨
every single flag, no skips, no shortcuts, we are thorough in this group chat π
--autolock[=false]β flip the manager autolocking setting on or off. values aretrue|false. it defaults tofalse, so if you want the lock, you gotta say the lock π--cert-expiry=2160h0m0sβ how long node certificates stay valid for. the unit can bens|us|ms|s|m|h. default is2160h0m0s, which is a very long time, and honestly same, we love longevity π--dispatcher-heartbeat=5sβ the dispatcher heartbeat period, aka how often the swarm's dispatcher checks in. unit isns|us|ms|s|m|h. default5s. it's giving consistent communication, it's giving healthy relationship π--external-ca=β specifications of one or more certificate signing endpoints. it's empty by default (no external CA), so if you're bringing your own CA, this is your moment π--max-snapshots=0β number of additional Raft snapshots to retain. default0, meaning zero extra snapshots hanging around. minimalism queen π§--snapshot-interval=10000β number of log entries between Raft snapshots. default10000. so every ten thousand entries, we snapshot. periodt. πΈ--task-history-limit=5β task history retention limit. default5. keep the receipts, but like, only five of them π
π SEE ALSO π
docker-swarm(1)β go read the parent page, bestie, it's the whole swarm family reunion π¦
and that's the page!! this one comes to you from the Docker Community, dated Oct 2026, and it's filed under DOCKER(1) in the Docker User Manuals. mwah. take care of your swarm and it'll take care of you πβ¨π
π¦ where this page comes from
- alpine 3.24: docker-doc 29.9.2-r0 Β· Apache-2.0
- fedora 43: docker-cli 29.8.2-2.fc43
- fedora 43: docker-cli 29.9.2-2.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- fedora 44: docker-cli 29.8.2-2.fc44
- fedora 44: docker-cli 29.9.2-2.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND MIT
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- opensuse-leap 16.0: docker 29.7.2_ce-160000.8.1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms