reference/run: Some editorial changes
Based on the suggestions from @moxiegirl, some changes to make the wording more clear. Signed-off-by: Kai Blin <kai@samba.org>
This commit is contained in:
parent
33e158b9fc
commit
eb1d7c01a2
@ -1142,16 +1142,17 @@ volume mounted on the host).
|
|||||||
|
|
||||||
### USER
|
### USER
|
||||||
|
|
||||||
The default user within a container is `root` (id = 0), but if the developer
|
`root` (id = 0) is the default user within a container. The image developer can
|
||||||
created additional users, those are accessible by name. When passing a numeric
|
create additional users. Those users are accessible by name. When passing a numeric
|
||||||
ID, the user doesn't have to exist in the container.
|
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
|
The developer can set a default user to run the first process with the
|
||||||
Dockerfile `USER` instruction, but the operator can override it:
|
Dockerfile `USER` instruction. When starting a container, the operator can override
|
||||||
|
the `USER` instruction by passing the `-u` option.
|
||||||
|
|
||||||
-u="": Username or UID
|
-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
|
### WORKDIR
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user