Replies: 14 comments 2 replies
-
it might help the conversation if you cite the distribution and other relevant details, especially for this error. |
Beta Was this translation helpful? Give feedback.
-
System details: RHEL 9.4 |
Beta Was this translation helpful? Give feedback.
-
rootless podman won't attempt to use cgroups with cgroup v1 unless it is asked to do so. What is the command you are using? In what environment are you running the command (sudo, local user session, ssh, ...)? |
Beta Was this translation helpful? Give feedback.
-
When we login as root user, we are able to pull images and spin containers. however when logged in as normal (local) user, I am able to pull image (same image as used in case of root), but unable to spin container. While creating container it gives error:
|
Beta Was this translation helpful? Give feedback.
-
that use case works with the default configuration, so it depends on your system and the way it is configured. You are not providing enough information to understand what is going on. How did you login with the unprivileged user? Can you show the full command line? Have you performed any customization to the unprivileged user config files? |
Beta Was this translation helpful? Give feedback.
-
I have added my user with useradd command:
and then I ssh to the machine using my user. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Sure, it shows permission denied.
|
Beta Was this translation helpful? Give feedback.
-
do you get anything different if you run |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
that error is coming from the nvidia runtime, it is not generated by Podman, so please report it to the appropriate project |
Beta Was this translation helpful? Give feedback.
-
but same error does not occur with root user. So I was thinking if it has to do with some configuration. |
Beta Was this translation helpful? Give feedback.
-
Thanks @giuseppe I will report the issue in nvidia project. |
Beta Was this translation helpful? Give feedback.
-
Yes you are correct, the issue finally got resolved with the solution provided at NVIDIA/nvidia-container-toolkit#139 (comment).. Thank you so much for your help on this @giuseppe |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to using rootless podman, but I am unable to start container with it.
The error that I get is:
Failed to add conmon to cgroupfs sandbox cgroup: creating cgroup for blkio: mkdir /sys/fs/cgroup/blkio/conmon: permission denied
and
podman info | cgroup
shows the following:podman version: 4.9.4
conmon verson: 2.1.10
Beta Was this translation helpful? Give feedback.
All reactions