You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would expect to have groups video and render inside the container.
I would expect to see devices present when running podman inspect tdarr
In an unprivileged user namespace, host GIDs cannot be mapped, unless the user has access to them (i.e. added to /etc/subuid and /etc/subgid). Any files or processes with unmapped GIDs will appear as owned by nobody:nogroup within the namespace.
If your user had access to the devices on the host and the access was granted through groups membership, then it should still have it inside the user namespace with keep-groups.
Issue Description
I can't mount devices inside a podman container when rootless. I tried the same quadlet file with rootful and I'm able to use mounted devices.
I'm using quadlet and this is the content of the file:
User
podman
is member of groupsrender
andvideo
:And this are the devices on the host:
Steps to reproduce the issue
Steps to reproduce the issue
video
andrender
groupGroupAdd=keep-groups
directivepodman inspect tdarr
and see no devices are mountedDescribe the results you received
When executing
podman inspect tdarr
I don't see any device:Moreover, when inspecting the container, I don't see the groups
video
andrender
begin ported inside the container:This is how it looks on the host:
Describe the results you expected
I would expect to have groups
video
andrender
inside the container.I would expect to see devices present when running
podman inspect tdarr
When rootful, it looks like this:
podman info output
Podman in a container
No
Privileged Or Rootless
Rootless
Upstream Latest Release
Yes
Additional environment details
Additional environment details
Additional information
Additional information like issue happens only occasionally or issue happens with a particular architecture or on a particular setting
The text was updated successfully, but these errors were encountered: