From 5047640bcfca232ae187c80498ca6081cebcc6be Mon Sep 17 00:00:00 2001 From: rugk Date: Mon, 6 Oct 2025 18:48:08 +0200 Subject: [PATCH] Make it more obvious how to run a node image as non-root Fixes https://github.com/nodejs/docker-node/issues/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. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c53d76b35..f29bb97b6 100644 --- a/README.md +++ b/README.md @@ -95,6 +95,7 @@ defining [start script](https://docs.npmjs.com/misc/scripts#default-values). ### Best Practices We have assembled a [Best Practices Guide](./docs/BestPractices.md) for those using these images on a daily basis. +This includes **security relevant** information e.g. on [how to run use a non-root user](./docs/BestPractices.md#non-root-user). ### Run a single Node.js script