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

[Feature-request] Allow cap_add and cap_drop when deploying stacks from yaml files #2833

Closed
presidenten opened this issue Feb 21, 2019 · 3 comments

Comments

@presidenten
Copy link

With docker-compose I can for example do:

cap_add:
  - NET_ADMIN

But in swarm I get: Ignoring unsupported options: cap_add.

Can you please add it?

@thaJeztah
Copy link
Member

Thanks for opening; this looks to be a duplicate of moby/moby#25885. Work is in progress to implement this (possibly with a slightly different syntax); see #2795

I'll close this ticket in favour of moby/moby#25885 to prevent the conversation from diverging 👍

@georgmay
Copy link

@thaJeztah this is currently supported by a new docker engine

@heyphat
Copy link

heyphat commented Jan 30, 2021

@georgmay which version of docker engine to support this did you mean?

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

No branches or pull requests

4 participants