1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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)
This commit is contained in:
Sebastiaan van Stijn 2014-07-23 14:44:17 +02:00 committed by Sebastiaan van Stijn
parent 9380e8cbe7
commit 2819d9b406

View file

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