-
Notifications
You must be signed in to change notification settings - Fork 2k
Adds instructions for modifying the node
user
#328
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
Conversation
@LaurentGoderre I was unable to find a way to modify a group uid in busybox, do you have any idea how to do it, or should I simply remove it and create another like below? # For debian based images use:
RUN groupmod -g 999 node && usermod -u 999 -g 999 node
# For alpine based images use:
RUN deluser --remove-home node \
&& delgroup node \
&& addgroup -S node -g 999 \
&& adduser -S -g node -u 999 node |
@SDWolf sorry for the delay, which one were you having issues with, the alpine one? |
Yes, for alpine there does not seem to be a way, AFAIK, to update a user's name/uid. |
@SDWolf separate instructions for alpine seems to be the way to go 😄 |
Also highlights the `Best Practices` section in the `README.md` file so the new instructions are easier to find. Special thanks to: * @blueimp for the uid/gid change command * @LaurentGoderre for the user rename command Refs #289
I've updated the PR and squashed the commits, let me know if there is anything else to be done 😃. |
Thanks! |
@SDWolf could you send a PR fixing the ToC in the readme? |
Opened #475. |
Also highlights the
Best Practices
section in theREADME.md
file sothe new instructions are easier to find.
Special thanks to:
Refs #289