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:
parent
9380e8cbe7
commit
2819d9b406
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue