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 #627

Merged
merged 1 commit into from
May 14, 2024

Conversation

robmry
Copy link
Contributor

@robmry robmry commented May 14, 2024

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.

This PR adds the field.

  • A corresponding change will be needed in compose-spec, and
  • compose will need an update to copy the driver options into the engine API's EndpointSettings.

@robmry robmry requested a review from ndeloof as a code owner May 14, 2024 11:35
@robmry robmry force-pushed the per_endpoint_driver_opts branch from 1a49ba0 to f854108 Compare May 14, 2024 11:38
Copy link
Collaborator

@glours glours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@glours glours merged commit 94bd735 into compose-spec:main May 14, 2024
8 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.

3 participants