/dev/dri container access, plex, rootless #25172
-
I've tried a bunch of different options with UserNS, group_add(GroupAdd) and few other random things from other posts I search. I cannot figure out how to get the user inside the plex container access to the /dev/dri/renderD128 device. If I run the container as rootful, it works just fine. Quadlet, the quadlet below is the growing mess that it currently is.
On Host:
Inside Container:
Inside Container:
On Host:
On Host:
In Container:
I've added render and video groups to my user on host. Postman info -> https://pastebin.com/tziw8jc0 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Note So you either need a container image that does not do that, figure out a way for s6 not to do that or map the subgid of the group into the users mapping and then map the gid to the right gid (that can get quite complex, #18333) |
Beta Was this translation helpful? Give feedback.
-
I could try https://github.com/linuxserver/docker-plex , not sure if this one is doing the same thing with s6 |
Beta Was this translation helpful? Give feedback.
The linuxserver image works if I pass in the User=1000:1000 Directive. But I am unable to use the named volume anymore. But the below works without the named volume. So HW Accel Works in rootless now.