Make the ENTRYPOINT example work
The incantation listed in the ENTRYPOINT example didn't actually pass the arguments to your script. Changing the definition to an array fixes this. Upstream-commit: e8ad82f9ba126414e1813fadfb17167a34afa8d4 Component: engine
This commit is contained in:
@@ -179,7 +179,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
|
||||
|
||||
Reference in New Issue
Block a user