server icon indicating copy to clipboard operation
server copied to clipboard

Support UID/GID as docker env variables

Open rosshettel opened this issue 6 years ago • 9 comments

As I'm trying out this docker image, I'd like to mount a volume from my host with a bunch of files. But since they're owned by a user with a userid and groupid that don't match those of the root user within the owncloud docker image, I'm not able to read those files. Many other docker images support a PUID and GUID config param that sets the root users ids to match those of the host system, for example all of linuxserverio's images. Are there any plans to support this in the future?

rosshettel avatar Oct 02 '18 20:10 rosshettel

I'm currently working on root-less containers, but I'm not sure if the uid and gid can be configured.

tboerger avatar Oct 02 '18 21:10 tboerger

Ok, thanks for letting me know. I'll work out another solution

rosshettel avatar Oct 02 '18 23:10 rosshettel

Let's see if that works when I'm done

tboerger avatar Oct 03 '18 07:10 tboerger

@tboerger Any update on this?

patrickjahns avatar Feb 15 '19 09:02 patrickjahns

Currently it's still not configurable, that's why I have kept it open.

tboerger avatar Feb 15 '19 09:02 tboerger

i am in need of changing a user to be run as different user, do u have any update?

arthur798 avatar Mar 18 '20 22:03 arthur798

Why do you need that? If it's related to the volumes you can bind mount with different permissions.

tboerger avatar Mar 19 '20 07:03 tboerger

@tboerger Any update on this?

DocBrown101 avatar Dec 11 '22 10:12 DocBrown101

Please don't ping individual users. We have currently no plan to support a UID/GID configuration.

xoxys avatar Dec 11 '22 11:12 xoxys