mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Clarify USER instruction documentation
Reuse WORKDIR wording to specify that the USER instructions affect the following RUN, CMD, and ENTRYPOINT instructions. Signed-off-by: Arnaud Porterie <arnaud.porterie@docker.com>
This commit is contained in:
parent
4d4a7b81bf
commit
de9bf24750
1 changed files with 2 additions and 1 deletions
|
@ -731,7 +731,8 @@ documentation.
|
|||
USER daemon
|
||||
|
||||
The `USER` instruction sets the user name or UID to use when running the image
|
||||
and for any following `RUN` directives.
|
||||
and for any `RUN`, `CMD` and `ENTRYPOINT` instructions that follow it in the
|
||||
`Dockerfile`.
|
||||
|
||||
## WORKDIR
|
||||
|
||||
|
|
Loading…
Reference in a new issue