Fix incorrect path in ENTRYPOINT example
The ENTRYPOINT example uses "/usr/bin/ls" as path, but `ls` is located at `/bin/ls`. Docker-DCO-1.1-Signed-off-by: Sebastiaan van Stijn <github@gone.nl> (github: thaJeztah) Upstream-commit: 2819d9b4062914daa5b6bd4d08676807859eae3f Component: engine
This commit is contained in:
committed by
Sebastiaan van Stijn
parent
44fd11bd23
commit
53aae89bf0
@ -409,7 +409,7 @@ optional but default, you could use a `CMD` instruction:
|
||||
|
||||
FROM ubuntu
|
||||
CMD ["-l"]
|
||||
ENTRYPOINT ["/usr/bin/ls"]
|
||||
ENTRYPOINT ["ls"]
|
||||
|
||||
> **Note**:
|
||||
> It is preferable to use the JSON array format for specifying
|
||||
|
||||
Reference in New Issue
Block a user