-
Notifications
You must be signed in to change notification settings - Fork 191
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
chore: bump docker dependency to v20.10.5 #119
Conversation
4b197f2
to
32c7ad6
Compare
32c7ad6
to
9502029
Compare
@@ -454,9 +444,6 @@ the extra mount mappings for the container. Each `configs` is a reference to a s | |||
* `limits` - (Optional, list of strings) Describes the resources which can be advertised by a node and requested by a task. | |||
* `nano_cpus` (Optional, int) CPU shares in units of 1/1e9 (or 10^-9) of the CPU. Should be at least 1000000 | |||
* `memory_bytes` (Optional, int) The amount of memory in bytes the container allocates | |||
* `generic_resources` (Optional, map) User-defined resources can be either Integer resources (e.g, SSD=3) or String resources (e.g, GPU=UUID1) | |||
* `named_resources_spec` (Optional, set of string) The String resources, delimited by `=` | |||
* `discrete_resources_spec` (Optional, set of string) The Integer resources, delimited by `=` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR includes breaking changes, right?
If so, we should update the major version according to the semver.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it will include BCs and I guess #102 as well. So we will bump a major.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📝 I don't know the feature generic_resources
well. I'll investigate later.
- https://docs.docker.com/engine/reference/commandline/service_create/#create-services-requesting-generic-resources
- https://pkg.go.dev/github.com/docker/docker@v20.10.5+incompatible/api/types/swarm#GenericResource
- https://pkg.go.dev/github.com/docker/docker@v20.10.5+incompatible/api/types/swarm#ResourceRequirements
In #102 we need to update dependencies due to broken windows build. So we split this out
Steps