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 <kai@samba.org>
| ... | ... |
@@ -1142,10 +1142,11 @@ volume mounted on the host). |
| 1142 | 1142 |
|
| 1143 | 1143 |
### USER |
| 1144 | 1144 |
|
| 1145 |
-The default user within a container is `root` (id = 0), but if the |
|
| 1146 |
-developer created additional users, those are accessible too. The |
|
| 1147 |
-developer can set a default user to run the first process with the |
|
| 1148 |
-Dockerfile `USER` instruction, but the operator can override it: |
|
| 1145 |
+The default user within a container is `root` (id = 0), but if the developer |
|
| 1146 |
+created additional users, those are accessible by name. When passing a numeric |
|
| 1147 |
+ID, the user doesn't have to exist in the container. The developer can set a |
|
| 1148 |
+default user to run the first process with the Dockerfile `USER` instruction, |
|
| 1149 |
+but the operator can override it: |
|
| 1149 | 1150 |
|
| 1150 | 1151 |
-u="": Username or UID |
| 1151 | 1152 |
|