mirror of
https://github.com/containers/podman.git
synced 2025-05-21 09:05:56 +08:00
Clarify the docs on DropCapability
It was a bit unclear what setting it to empty means. Also, add to the tests verification that this works. Signed-off-by: Alexander Larsson <alexl@redhat.com>
This commit is contained in:
@ -126,8 +126,8 @@ setuid and file capabilities.
|
||||
|
||||
#### `DropCapability=` (defaults to `all`)
|
||||
|
||||
Drop these capabilities from the default container capability set. The default is `all`, allowing
|
||||
addition of capabilities with `AddCapability`. Set this to empty to drop no capabilities.
|
||||
Drop these capabilities from the default podman capability set, or `all` for all capabilities. The default if no
|
||||
`DropCapability` is set is `all`. Set this to empty (i.e. `DropCapability=`) to use the default podman capability set.
|
||||
|
||||
This is a space separated list of capabilities. This key can be listed multiple times.
|
||||
|
||||
|
Reference in New Issue
Block a user