Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User and group ID mappings #73

Closed
LaurensRietveld opened this issue Dec 29, 2015 · 2 comments
Closed

User and group ID mappings #73

LaurensRietveld opened this issue Dec 29, 2015 · 2 comments

Comments

@LaurensRietveld
Copy link

Are you open to a PR that enables user and group ID mappings? Considering that docker has no built-in solution for this (moby/moby#7198), the files in the shared volume end up as owned by the container mongodb user.
A simple script in the entrypoint that modifies the mongodb user and group ID (based on two environment variables) would solve this issue.

@tianon
Copy link
Member

tianon commented Jan 22, 2016

I think the approach we've taken in docker-library/elasticsearch#77 is probably the one we want to follow here too (see especially the additional notes in docker-library/elasticsearch#14 (comment) about why that particular solution is nice).

@yosifkit
Copy link
Member

yosifkit commented Feb 4, 2016

#81 fixed this.

@yosifkit yosifkit closed this as completed Feb 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants