Video Devices inside of Podman Quadlet Container #27542
BStenfors9119
started this conversation in
General
Replies: 1 comment
-
|
Have you tried to temporarily switch SELinux to permissive mode ? After testing, use to switch SELinux back to enforcing mode. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I would like to understand more in depth how permissions work for video (capture card) devices and how they can be accessed inside of a podman quadlet container.
My scenario:
If I run the "v4l2-ctl --list-devices" via "podman exec" directly or even inside the container via "podman exec [container name] /bin/bash" it succeeds perfectly.
I have added the user creating / starting the quadlet to the video group via "usermod -aG video $USER".
I have also set privileged to true (without this no access at all).
Here is my current Quadlet container unit file:
I have also tried the following:
I started working on this by following the steps in this blog post:
https://www.redhat.com/en/blog/files-devices-podman
Any ideas / suggestions are greatly appreciated :).
Beta Was this translation helpful? Give feedback.
All reactions