Explorar o código

Merge pull request #1241 from ryfow/patch-1

Make the ENTRYPOINT example work
Victor Vieux %!s(int64=12) %!d(string=hai) anos
pai
achega
dfc64d157a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/sources/use/builder.rst

+ 1 - 1
docs/sources/use/builder.rst

@@ -187,7 +187,7 @@ The copy obeys the following rules:
 3.8 ENTRYPOINT
 --------------
 
-    ``ENTRYPOINT /bin/echo``
+    ``ENTRYPOINT ["/bin/echo"]``
 
 The ``ENTRYPOINT`` instruction adds an entry command that will not be
 overwritten when arguments are passed to docker run, unlike the