Comment on [HELP] How to fork a docker image?
sugar_in_your_tea@sh.itjust.works 6 days agoAnd 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
so, in this case, the internal user is peertube with UID 999.
would i then use that UID, and the GID of the passed render device?
sugar_in_your_tea@sh.itjust.works 6 days ago
Passing that in basically overrides the [USER field in the Dockerfile](docker run -it --user $UID:$GID). Make sure that user/group combo has access to the render device.