Parcourir la source

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)
Sebastiaan van Stijn il y a 11 ans
Parent
commit
2819d9b406
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      docs/sources/reference/builder.md

+ 1 - 1
docs/sources/reference/builder.md

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