github.com/kobeld/docker@v1.12.0-rc1/docs/reference/commandline/swarm_update.md (about) 1 <!--[metadata]> 2 +++ 3 title = "swarm update" 4 description = "The swarm update command description and usage" 5 keywords = ["swarm, update"] 6 [menu.main] 7 parent = "smn_cli" 8 +++ 9 <![end-metadata]--> 10 11 **Warning:** this command is part of the Swarm management feature introduced in Docker 1.12, and might be subject to non backward-compatible changes. 12 13 # swarm update 14 15 Usage: docker swarm update [OPTIONS] 16 17 update the Swarm. 18 19 Options: 20 --auto-accept value Auto acceptance policy (worker, manager or none) 21 --dispatcher-heartbeat duration Dispatcher heartbeat period (default 5s) 22 --help Print usage 23 --secret string Set secret value needed to accept nodes into cluster 24 --task-history-limit int Task history retention limit (default 10) 25 26 Updates a Swarm cluster with new parameter values. This command must target a manager node. 27 28 29 ```bash 30 $ docker swarm update --auto-accept manager 31 ``` 32 33 ## Related information 34 35 * [swarm init](swarm_init.md) 36 * [swarm join](swarm_join.md) 37 * [swarm leave](swarm_leave.md) 38