-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
File not found: /sys/class/powercap/intel-rapl:0/energy_uj #386
Comments
To be fair, the use of --privileged mode is mentionned in the doc (but only with Podman and not for Ubuntu). And I do not remember having to use this flag before (but you know how memory works 🙃).... maybe something changed with a docker or ubuntu update ? |
Caution Running the container as |
Any fixes? |
I've been facing the same problem. Running the container as privileged works but not otherwise. Is there any update on a fix for this ? |
Same problem on Kubernetes: #351 (comment) |
Hi ! I understand the issue of using the privileged flag, but I'm not sure how to fix this. The permissions of /sys/class/powercap are set by the kernel, which is the main issue (but there is also #106 #135). Moving to privileged mode was the fix for docker-compose, podman and kubernetes contexts. I'm not sure there is a better one. If you have a better idea I'd love to hear it. |
Bug description
Despite the volume mapping and files being present on host, we have a file not found issue when running scaphandre:dev container.
To Reproduce
Expected behavior
Seems to work when container is run in
--privileged
mode.Screenshots
Environment
uname -r
): 5.4.0-174-genericAdditional context
The text was updated successfully, but these errors were encountered: