1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

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.
This commit is contained in:
Ryan Fowler 2013-07-19 10:11:21 -05:00
parent 6e2e4cad73
commit e8ad82f9ba

View file

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