DockerCLI/docs/reference/commandline
Aaron Lehmann 49b6be893c cli: Add options for Raft snapshotting
Add the following options to "swarm init" and "swarm update":

- --max-snapshots: Retain this many old Raft snapshots in addition
  to the latest one

- --snapshot-interval: Number of log entries between Raft snapshots

These options already existed in SwarmKit and the Docker API but were
never exposed in the CLI. I'm adding them here to fix this oversight.

--max-snapshots may be useful for debugging purposes and more
conservative users who want to store rolling backups of old versions of
the Raft state.

--snapshot-interval is most useful for performance tuning. The default
value of 10000 may not be ideal for some setups.

There is also a LogEntriesForSlowFollowers option that is not exposed. I
decided not to expose it along with these others because I don't think
it's generally useful (and I'm not sure what I would call the CLI flag).
But if people want, I can expose it for the sake of completeness.

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
2017-06-02 00:10:34 +00:00
..
attach.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
build.md Update docs for the output of `docker build` (Step 1/...) 2017-06-02 00:10:32 +00:00
cli.md Align arg with other cli 2017-06-02 00:10:32 +00:00
commit.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
container_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
cp.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
create.md Windows: Add cpu count option 2017-06-02 00:10:32 +00:00
deploy.md support show numbers of global service in service ls command 2017-06-02 00:10:34 +00:00
diff.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
docker_images.gif retooling for hugo 2017-06-02 00:06:58 +00:00
dockerd.md daemon: add a flag to override the default seccomp profile 2017-06-02 00:10:32 +00:00
events.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
exec.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
export.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
history.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
image_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
images.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
import.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
index.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
info.md Rectify Images display information for docker 1.10.3 2017-06-02 00:10:32 +00:00
inspect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
kill.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
load.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
login.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
logout.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
logs.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
menu.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
network_connect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
network_create.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
network_disconnect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
network_inspect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
network_ls.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
network_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
network_rm.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
node_demote.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
node_inspect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
node_ls.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
node_promote.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
node_ps.md Add -a option to service/node ps 2017-06-02 00:10:32 +00:00
node_rm.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
node_update.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
pause.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
plugin_disable.md support env for docker plugin set 2017-06-02 00:10:32 +00:00
plugin_enable.md support env for docker plugin set 2017-06-02 00:10:32 +00:00
plugin_inspect.md support env for docker plugin set 2017-06-02 00:10:32 +00:00
plugin_install.md support settings in docker plugins install 2017-06-02 00:10:34 +00:00
plugin_ls.md support env for docker plugin set 2017-06-02 00:10:32 +00:00
plugin_rm.md support env for docker plugin set 2017-06-02 00:10:32 +00:00
plugin_set.md support settings in docker plugins install 2017-06-02 00:10:34 +00:00
port.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
ps.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
pull.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
push.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
rename.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
restart.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
rm.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
rmi.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
run.md Windows: Add cpu count option 2017-06-02 00:10:32 +00:00
save.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
search.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
service_create.md Add custom DNS settings to service update 2017-06-02 00:10:34 +00:00
service_inspect.md support show numbers of global service in service ls command 2017-06-02 00:10:34 +00:00
service_ls.md support show numbers of global service in service ls command 2017-06-02 00:10:34 +00:00
service_ps.md Add -a option to service/node ps 2017-06-02 00:10:32 +00:00
service_rm.md support show numbers of global service in service ls command 2017-06-02 00:10:34 +00:00
service_scale.md support show numbers of global service in service ls command 2017-06-02 00:10:34 +00:00
service_update.md Add custom DNS settings to service update 2017-06-02 00:10:34 +00:00
stack_config.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
stack_deploy.md support show numbers of global service in service ls command 2017-06-02 00:10:34 +00:00
stack_ls.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
stack_ps.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
stack_rm.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
stack_services.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
start.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
stats.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
stop.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
swarm_init.md cli: Add options for Raft snapshotting 2017-06-02 00:10:34 +00:00
swarm_join.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
swarm_join_token.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
swarm_leave.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
swarm_update.md cli: Add options for Raft snapshotting 2017-06-02 00:10:34 +00:00
system_df.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
system_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
tag.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
top.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
unpause.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
update.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
version.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
volume_create.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
volume_inspect.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
volume_ls.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
volume_prune.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
volume_rm.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00
wait.md fix frontmatter keywords value type (string, instead of []string) in /docs/reference 2017-06-02 00:10:31 +00:00