Skip to content

feature request: UID variable #3548

@vincentDcmps

Description

@vincentDcmps

Context

I try to use docker mail server with my /var/mail volume on a nfs share but when container start
he can't take ownership on folder because user 5000 not exist on my NAS

chown: changing ownership of '/var/mail': Invalid argument
[  ERROR  ]  Failed to fix /var/mail permissions
[  ERROR  ]  Shutting down

Description

I have an LDAP service on my synology but UID are always greaterr thant 10000
so I need to create several local user on my synology and all my nomad cluster to get uid 5000 on everyone

we could put container docker user UID 5000 in a variable to custom this one if needed

Alternatives

store mail on filesytem without nas

Applicable Users

people using NFS

Are you going to implement it?

Yes, because I know the probability of someone else doing it is low and I can learn from it.

What are you going to contribute?

I could try to perform modification or test

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions