Sitelet https://web.archive.org/web/20200708010043/https://github.com/docker/docker-py/issues/2525
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More consistent defaults for a Swarm service #2525

Open
pklejch opened this issue Mar 11, 2020 · 0 comments
Open

More consistent defaults for a Swarm service #2525

pklejch opened this issue Mar 11, 2020 · 0 comments

Comments

@pklejch
Copy link

@pklejch pklejch commented Mar 11, 2020

In official Docker documentation regarding Swarm service (https://docs.docker.com/engine/reference/commandline/service_create/) some options have different defaults, than this library.

For example when creating service through Docker CLI (docker service create), option --update-failure-action has default action pause rather than continue as defined in UpdateConfig.failure_action here:

class UpdateConfig(dict):

Same thing applies for option --update-parallelism, which has default 1, but in docker-py library UpdateConfig.parallelism has default value 0 (update all at once).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.