mirror of
https://github.com/clearlinux/docker.git
synced 2026-09-04 12:41:42 +00: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:
committed by
Sebastiaan van Stijn
parent
9380e8cbe7
commit
2819d9b406
@@ -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