Files
docker-cli/opts
Sebastiaan van Stijn 23660be600 Service cap-add/cap-drop: add special "RESET" value
This implements a special "RESET" value that can be used to reset the
list of capabilities to add/drop when updating a service.

Given the following service;

| CapDrop        | CapAdd        |
| -------------- | ------------- |
| CAP_SOME_CAP   |               |

When updating the service, and applying `--cap-drop RESET`, the "drop" list
is reset to its default:

| CapDrop        | CapAdd        |
| -------------- | ------------- |
|                |               |

When updating the service, and applying `--cap-drop RESET`, combined with
`--cap-add CAP_SOME_CAP` and `--cap-drop CAP_SOME_OTHER_CAP`:

| CapDrop        | CapAdd        |
| -------------- | ------------- |
| CAP_FOO_CAP    | CAP_SOME_CAP  |

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-09-10 11:14:38 +02:00
..
2019-03-19 03:17:02 +01:00
2019-03-19 03:17:02 +01:00
2019-03-21 20:14:25 +00:00
2017-05-15 11:57:15 +02:00
2017-05-15 11:57:19 +02:00
2019-03-19 03:17:02 +01:00
2020-01-16 12:48:09 +01:00
2017-06-14 16:54:27 -07:00
2017-06-14 16:55:08 -07:00