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

UserUID collision: node-red(1000) by default #146

Open
pkjq opened this issue Oct 9, 2019 · 2 comments
Open

UserUID collision: node-red(1000) by default #146

pkjq opened this issue Oct 9, 2019 · 2 comments

Comments

@pkjq
Copy link

pkjq commented Oct 9, 2019

What are the steps to reproduce?

Run docker-compose\docker with mounting local directory to container.

What happens?

User from container will be mapped to me. UID collision with first user in linux occured :-(

What do you expect to happen?

I can manually set user uid in container

It's may be fixed by pkjq@d5ff167

@dceejay
Copy link
Member

dceejay commented Oct 10, 2019

When we build it using Travis we have to pick a user - so using 1000 means that (as you say) often the local user can just pick it up and mount local volumes easily. We do provide a docker-custom Dockerfile where you can easily add the required USER - or indeed it could be added to the docker-make.sh script as another option.

@pkjq
Copy link
Author

pkjq commented Oct 10, 2019

May be customize user uid at args of script and set it equal 1000 by default?

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

2 participants