Comment on [HELP] How to fork a docker image?
nico198X@piefed.europe.pub 2 months agofor the expanded discussion, you can check here:
Comment on [HELP] How to fork a docker image?
nico198X@piefed.europe.pub 2 months agofor the expanded discussion, you can check here:
frongt@lemmy.zip 2 months ago
Right, you just need to make sure that the user inside the container has permission to the device. They cover this in the front page of the repo: github.com/…/peertube-plugin-hardware-transcode-v…
sugar_in_your_tea@sh.itjust.works 2 months ago
And you can map internal users to external users. This isn’t as common with Docker since things tend to run as root, so maybe look up Podman docs where it’s more common since it’s whole schtick is running with minimal permissions.
nico198X@piefed.europe.pub 2 months ago
this would be useful but i was never able to figure out how. :/
sugar_in_your_tea@sh.itjust.works 2 months ago
Basically this:
docker run -it --user $UID:$GIDPass it a user and group that have the appropriate access, and no more. You can also set this in Docker compose or whatever other abstraction you’re using.
nico198X@piefed.europe.pub 2 months ago
right, so what confused me is that the basic setup works for owncast, but the same setup not for peertube.