1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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 <kai@samba.org>
This commit is contained in:
Kai Blin 2015-08-12 06:34:37 +02:00
parent f5e2c6f14b
commit a7cfb098d4

View file

@ -1142,10 +1142,11 @@ volume mounted on the host).
### USER
The default user within a container is `root` (id = 0), but if the
developer created additional users, those are accessible too. The
developer can set a default user to run the first process with the
Dockerfile `USER` instruction, but the operator can override it:
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:
-u="": Username or UID