Skip to content

Add --cap-add as and --cap-drop to swarm services#1565

Closed
alex-berger wants to merge 1 commit intomoby:masterfrom
alex-berger:add-capabilities-support-for-services
Closed

Add --cap-add as and --cap-drop to swarm services#1565
alex-berger wants to merge 1 commit intomoby:masterfrom
alex-berger:add-capabilities-support-for-services

Conversation

@alex-berger
Copy link

Fixes moby/moby#25885

Having this in place we can now use capabilities in the following CLI calls respectively in the corresponding API calls.

  • service create
  • service update

Signed-off-by: Alexander Berger alex-berger@gmx.ch

Fixes moby/moby#25885

Having this in place we can now use capabilities in the following CLI calls respectively in the corresponding API calls.
- service create
- service update

Signed-off-by: Alexander Berger <alex-berger@gmx.ch>
@alex-berger
Copy link
Author

This PR is required for moby/moby#26849.

@codecov-io
Copy link

codecov-io commented Sep 23, 2016

Current coverage is 54.08% (diff: 100%)

Merging #1565 into master will increase coverage by 0.10%

@@             master      #1565   diff @@
==========================================
  Files            79         82     +3   
  Lines         13479      13607   +128   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           7276       7360    +84   
- Misses         5219       5246    +27   
- Partials        984       1001    +17   

Sunburst

Powered by Codecov. Last update 3be4c3f...4642e8f

@justincormack
Copy link
Contributor

As per review on Docker PR I don't think we should do this.

@nishanttotla
Copy link
Contributor

@justincormack @alex-berger should we close this PR?

@aluzzardi
Copy link
Member

Hey, thanks a lot @alex-berger.

We want to be able to support adding capabilities.

Right now we're stuck because of portability - there's many commands supported by docker run that are not portable or don't make sense in a cluster environment and we're trying to find the best way to add them.

Will keep you posted but we do appreciate the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants