1
0
mirror of https://github.com/docker/cli.git synced 2026-01-15 07:40:57 +03: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>
Upstream-commit: de9bf24750e0a9774a475eae74cbd2c241224e10
Component: engine
This commit is contained in:
Arnaud Porterie
2014-11-01 13:58:18 -07:00
parent 9fda67e5fe
commit 3856bb0808

View File

@@ -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