Docker default user ids

73 views
Skip to first unread message

Jonathan Brooks

unread,
May 15, 2023, 11:34:24 AM5/15/23
to dcm4che
Dear All,

TL;DR
Is possible to specify custom uid:gid pairs for the postgres and archive ("arc") users in a docker container?

Boring explanation:
I'm experimenting with docker and docker-compose to create an archive, which will run on Synology NAS.

One thing that's come up before is that the uid/gid pairs that are (optionally) required to be installed on the docker host (e.g. for the user dcm4chee-arc = 1023:1023), clash with pre-existing Synology uid/gid pairings.

It looks like for the ldap/slapd component you can specify a uid/gid pair of your choosing (see here) via the environment variables LDAP_USER_ID, LDAP_GROUP_ID.

Fortunately, Synology doesn't use the default 1021 for anything, but the defaults for postgres-dcm4chee and dcm4chee-arc, do overlap (999 and 1023 are taken).

I was wondering if it's also possible to specify custom uid:gid pairs for the postgres and archive ("arc") users?

Best wishes,
Jon

Reply all
Reply to author
Forward
0 new messages