From e0cf6e2d24cde203df11dffb5097dc734f048c2f Mon Sep 17 00:00:00 2001 From: David Barton Date: Tue, 15 Nov 2016 13:49:11 +0100 Subject: [PATCH] Wrong username mentioned in docs `app` should be `node` --- docs/BestPractices.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/BestPractices.md b/docs/BestPractices.md index d707e59f..c69a8de3 100644 --- a/docs/BestPractices.md +++ b/docs/BestPractices.md @@ -10,7 +10,7 @@ Run with `NODE_ENV` set to `production`. This is the way you would pass in secre ## Non-root User -By default, Docker runs container as root which inside of the container can pose as a security issue. You would want to run the container as an unprivileged user wherever possible. The node images (with the exception of the `onbuild` variant) provide the `node` user for such purpose. The Docker Image can than be run with the `app` user in the following way: +By default, Docker runs container as root which inside of the container can pose as a security issue. You would want to run the container as an unprivileged user wherever possible. The node images (with the exception of the `onbuild` variant) provide the `node` user for such purpose. The Docker Image can than be run with the `node` user in the following way: ``` -u "node"