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

Add driver_opts to services.networks #498

Merged
merged 1 commit into from
May 14, 2024

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

05-services.md Outdated Show resolved Hide resolved
Signed-off-by: Rob Murray <rob.murray@docker.com>
@ndeloof ndeloof merged commit 77bd39a into compose-spec:master May 14, 2024
2 checks passed
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.

None yet

2 participants