Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upMore consistent defaults for a Swarm service #2525
Open
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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-actionhas default actionpauserather thancontinueas defined inUpdateConfig.failure_actionhere:docker-py/docker/types/services.py
Line 367 in 8fea573
Same thing applies for option
--update-parallelism, which has default1, but in docker-py libraryUpdateConfig.parallelismhas default value0(update all at once).