mirror of https://github.com/docker/docs.git
Merge pull request #1241 from ryfow/patch-1
Make the ENTRYPOINT example work
This commit is contained in:
commit
dfc64d157a
|
@ -187,7 +187,7 @@ The copy obeys the following rules:
|
||||||
3.8 ENTRYPOINT
|
3.8 ENTRYPOINT
|
||||||
--------------
|
--------------
|
||||||
|
|
||||||
``ENTRYPOINT /bin/echo``
|
``ENTRYPOINT ["/bin/echo"]``
|
||||||
|
|
||||||
The ``ENTRYPOINT`` instruction adds an entry command that will not be
|
The ``ENTRYPOINT`` instruction adds an entry command that will not be
|
||||||
overwritten when arguments are passed to docker run, unlike the
|
overwritten when arguments are passed to docker run, unlike the
|
||||||
|
|
Loading…
Reference in New Issue