New issue
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
CAP_PERFMON works in runc but not docker #14124
Comments
I have the same on Debian stable, running the Debian docker package (
I need this to use Intel PT inside a container. |
FWIW, Intel PT does work with |
This issue seems to suggest that Maybe this issue should be a duplicate? |
The wording of #13731 is very confusing. At the end, it says "Please mention that using these capabilities should work in versions after this merge.", which seems to suggest it's not broken. As for whether this issue is a duplicate of #13731, #13731 is about a documentation issue rather than the fact that CAP_PERFMON works in |
Funnily enough, docker/cli has bash completions that specifically include the capability CAP_PERFMON. Really hoping this is fixed eventually :) |
@thaJeztah Sorry to ping, but you might be the best to ask regarding this issue. As far as we can tell, the only issue is docker does not allow |
|
Closed issues are locked after 30 days of inactivity. If you have found a problem that seems similar to this, please open a new issue. /lifecycle locked |
I've been trying to get CAP_PERFMON to work without success.
I've tried all the channel settings ("stable", "nightly", etc.) for a clean install from the latest get-docker.com script and consistently get:
Poking around at
runc
suggests that myrunc
supportCAP_PERFMON
. Here's the relevant section of myconfig.json
,and
runc run container1
completes successfully.Here's what seems like the relevant version strings (I'm in Ubuntu 20.04 HWE):
The text was updated successfully, but these errors were encountered: