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 committed by Tibor Vass
parent d3dae7f652
commit 7cc23c78c0
1 changed files with 5 additions and 4 deletions

View File

@ -1142,10 +1142,11 @@ volume mounted on the host).
### USER ### USER
The default user within a container is `root` (id = 0), but if the The default user within a container is `root` (id = 0), but if the developer
developer created additional users, those are accessible too. The created additional users, those are accessible by name. When passing a numeric
developer can set a default user to run the first process with the ID, the user doesn't have to exist in the container. The developer can set a
Dockerfile `USER` instruction, but the operator can override it: default user to run the first process with the Dockerfile `USER` instruction,
but the operator can override it:
-u="": Username or UID -u="": Username or UID