Преглед изворни кода

Merge pull request #1241 from ryfow/patch-1

Make the ENTRYPOINT example work
Victor Vieux пре 12 година
родитељ
комит
dfc64d157a
1 измењених фајлова са 1 додато и 1 уклоњено
  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