Browse Source

Merge pull request #1241 from ryfow/patch-1

Make the ENTRYPOINT example work
Victor Vieux 12 năm trước cách đây
mục cha
commit
dfc64d157a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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