mirror of
https://github.com/docker/cli.git
synced 2026-01-22 03:22:01 +03: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)
Upstream-commit: c290eb9a8c
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
5aee68c291
commit
7d18ebcbe5
@@ -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