github.com/noxiouz/docker@v0.7.3-0.20160629055221-3d231c78e8c5/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 advisory = "rc" 7 [menu.main] 8 parent = "smn_cli" 9 +++ 10 <![end-metadata]--> 11 12 # swarm update 13 14 Usage: docker swarm update [OPTIONS] 15 16 update the Swarm. 17 18 Options: 19 --auto-accept value Auto acceptance policy (worker, manager or none) 20 --dispatcher-heartbeat duration Dispatcher heartbeat period (default 5s) 21 --help Print usage 22 --secret string Set secret value needed to accept nodes into cluster 23 --task-history-limit int Task history retention limit (default 10) 24 25 Updates a Swarm cluster with new parameter values. This command must target a manager node. 26 27 28 ```bash 29 $ docker swarm update --auto-accept manager 30 ``` 31 32 ## Related information 33 34 * [swarm init](swarm_init.md) 35 * [swarm join](swarm_join.md) 36 * [swarm leave](swarm_leave.md)