DailyNotes icon indicating copy to clipboard operation
DailyNotes copied to clipboard

[Request] Docker - Allow to pass User / Group Identifiers

Open caillou opened this issue 3 years ago • 3 comments

When trying to mount the config_dir I run into permission issues.

I am in no way a Docker expert, and usually rely on linuxserver.io images on our homeserver, e.g. hedgedoc.

Linuxserver.io usually offers the following environment variables: PUID, PGID:

User / Group Identifiers

When using volumes (-v flags) permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

Would it make sense to allow this configuration?

caillou avatar Mar 25 '21 09:03 caillou

Probably. I'll look into it. Maybe I'll talk to the linuxserver guys about hosting it. They made a container for one of my other apps.

m0ngr31 avatar Mar 30 '21 19:03 m0ngr31

Done on #48

m0ngr31 avatar Nov 24 '21 03:11 m0ngr31

Reopening this because I had to revert the changes. They were breaking

m0ngr31 avatar Feb 09 '22 05:02 m0ngr31