From f9f2dbcb151d09ebb8de8b0ee9ccdb20a892c51c Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Wed, 12 Aug 2015 06:34:37 +0200 Subject: [PATCH] reference/run: Clarify the use of numeric UIDs it is possible to pass an UID that has not been created inside the container, clarify this in the docs. This should fix issue #14795 Signed-off-by: Kai Blin (cherry picked from commit a7cfb098d48b9b9ce19bc57fd2c219981b24b75b) Conflicts: docs/reference/run.md --- docs/reference/run.md | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/docs/reference/run.md b/docs/reference/run.md index 91262aa5e..2cfb88b1e 100644 --- a/docs/reference/run.md +++ b/docs/reference/run.md @@ -1142,7 +1142,6 @@ volume mounted on the host). ### USER -<<<<<<< HEAD `root` (id = 0) is the default user within a container. The image developer can create additional users. Those users are accessible by name. When passing a numeric ID, the user does not have to exist in the container. @@ -1150,18 +1149,10 @@ ID, the user does not have to exist in the container. The developer can set a default user to run the first process with the Dockerfile `USER` instruction. When starting a container, the operator can override the `USER` instruction by passing the `-u` option. -======= -The default user within a container is `root` (id = 0), but if the developer -created additional users, those are accessible by name. When passing a numeric -ID, the user doesn't have to exist in the container. - -The developer can set a default user to run the first process with the -Dockerfile `USER` instruction, but the operator can override it: ->>>>>>> 4d89910... reference/run: Add a paragraph break -u="": Username or UID -> **Note:** if you pass a numeric uid, it must be in the range 0-2147483647. +> **Note:** if you pass a numeric uid, it must be in the range of 0-2147483647. ### WORKDIR