Open gnuille opened 1 year ago
Looking into the history, this may have been removed from supported capabilities based on libseccomp. We need to look at this some more. related: https://github.com/moby/moby/pull/42011 and https://github.com/moby/moby/pull/44565
May be possible that this works in the new engine release (can test https://github.com/moby/moby/releases/tag/v23.0.0-rc.2)
Description
Altough the perfmon capability is available on my system:
When I try to add the capability trough :
The command errors:
Reproduce
docker run --cap-add CAP_PERFMON -P -it alpine:latest /bin/bash
Expected behavior
Should prompt a shell in a container with PERFMON capabilities enabled.
docker version
docker info
Additional Info
I have tested the following wordings for the capability in the command
docker run --cap add
:All of them seem to be getting the CAP_PERFMON prefix on the error output.