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
Include an "order" key in the "update_config" #346
Comments
Cool @dnephin, I can draft a PR if you'd like within the week 😄 |
That would be great. Just cherry-pick the first commit from #306 to get the new v3.4 schema file |
Hello @dnephin - 5b43e14 seems to change the v3.3 format, not v3.4, am I missing something? Also, is there a way I can populate the format, after adding the new options to Here's a first implementation, which currently fails because of the format not being there: akalipetis@1de7d37 |
Thanks 👍 cherry-picked and opened #360 🎉 |
Can we use it as a zero downtime deployment during docker service update. In docker docs I could not find any real life example for using this option. Could you please give us some brief how does this new option works. we have a Global mode service running and if we add this option in stack file how at the same time both the containers will access the same port. Because as per our understanding when the new task or container become ready in our case curl that port then old task or container will be shutdown. So at one moment there would be port conflict happened. Or the theory is different. |
When updating a Docker service, the following option exists:
This can be used to create rolling update deployments, even if a service has just one replica.
I propose adding the following key to the Docker Compose spec, which will allow for these updates to work with
docker deploy -c ...
.I would be happy to contribute the needed code if that's something we'd like to have in the spec.
The text was updated successfully, but these errors were encountered: