Comment on [HELP] How to fork a docker image?
nico198X@piefed.europe.pub 6 days agofor the expanded discussion, you can check here:
Comment on [HELP] How to fork a docker image?
nico198X@piefed.europe.pub 6 days agofor the expanded discussion, you can check here:
frongt@lemmy.zip 6 days 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 6 days 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 6 days ago
this would be useful but i was never able to figure out how. :/
sugar_in_your_tea@sh.itjust.works 6 days ago
Basically this:
docker run -it --user $UID:$GID
Pass 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 6 days ago
right, so what confused me is that the basic setup works for owncast, but the same setup not for peertube.