We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Recently the --cap-add option has been added to stack/service commands. Link to the PR: docker/cli#2687
--cap-add
It is done by adding CapabilityAdd and CapabilityDrop into the TaskTemplate -> ContainerSpec within the request body. See here: https://github.com/thaJeztah/cli/blob/master/cli/compose/convert/service.go#L153-L154
CapabilityAdd
CapabilityDrop
TaskTemplate -> ContainerSpec
At the moment, there is no such option in docker-py when creating services -> https://docker-py.readthedocs.io/en/stable/services.html
The text was updated successfully, but these errors were encountered:
Hi @matusnovak
I opened a Pull Request for that feature #2809
Sorry, something went wrong.
Thank you @feliperuhland I will be very glad once that gets merged. I am closing this issue.
No branches or pull requests
Recently the
--cap-add
option has been added to stack/service commands. Link to the PR: docker/cli#2687It is done by adding
CapabilityAdd
andCapabilityDrop
into theTaskTemplate -> ContainerSpec
within the request body. See here: https://github.com/thaJeztah/cli/blob/master/cli/compose/convert/service.go#L153-L154At the moment, there is no such option in docker-py when creating services -> https://docker-py.readthedocs.io/en/stable/services.html
The text was updated successfully, but these errors were encountered: