Skip to content

Conversation

robmry
Copy link
Contributor

@robmry robmry commented May 14, 2024

What this PR does / why we need it:

It's possible to set driver options when creating a network using compose ... compose spec / engine API.

But not when connecting an endpoint to a network ... compose spec / engine API.

The API field isn't new, but upcoming change moby/moby#47686 means it'll be useful for setting per-interface sysctls.

compose-spec/compose-go#627 adds the types, this updates the spec to match.

(compose will need an update to pass driver-opts into the engine API's EndpointSettings.)

Which issue(s) this PR fixes:

n/a

@robmry robmry force-pushed the per_endpoint_driver_opts branch from 71f2537 to 825e27c Compare May 14, 2024 12:52
Signed-off-by: Rob Murray <rob.murray@docker.com>
@robmry robmry force-pushed the per_endpoint_driver_opts branch from 825e27c to 53ba01b Compare May 14, 2024 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants