You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explain how to use/build rootless aka using the node user instead of the default root user #2287
IMHO, you may also link the best practices on https://hub.docker.com/_/node/#how-to-use-this-image directly, to save some more clicks and hopefully make more people find the information about non-root users. So if you adjust the docs there for #2286 you may likewise add a link to the best practices here.
Activity
rugk commentedon Oct 6, 2025
Ah found it! https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#non-root-user
IMHO that's quite hidden though for a a best practices document…
Make it more obvious how to run a node image as non-root
rugk commentedon Oct 6, 2025
IMHO, you may also link the best practices on https://hub.docker.com/_/node/#how-to-use-this-image directly, to save some more clicks and hopefully make more people find the information about non-root users. So if you adjust the docs there for #2286 you may likewise add a link to the best practices here.