allow specification of entrypoint in the form of a slice

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #1352
Approved by: mheon
This commit is contained in:
Daniel J Walsh
2018-08-27 11:22:28 -04:00
committed by Atomic Bot
parent 9e315518aa
commit 1a90b2fd36
5 changed files with 65 additions and 13 deletions

View File

@ -213,7 +213,7 @@ Set custom DNS options
Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
**--entrypoint**=""
**--entrypoint** *"command"* | *'["command", "arg1", ...]'*
Overwrite the default ENTRYPOINT of the image
@ -228,6 +228,8 @@ something else inside the container, so you can override the default ENTRYPOINT
at runtime by using a **--entrypoint** and a string to specify the new
ENTRYPOINT.
You need to specify multi option commands in the form of a json string.
**-e**, **--env**=[]
Set environment variables

View File

@ -217,7 +217,7 @@ Set custom DNS options
Set custom DNS search domains (Use --dns-search=. if you don't wish to set the search domain)
**--entrypoint**=""
**--entrypoint** *"command"* | *'["command", "arg1", ...]'*
Overwrite the default ENTRYPOINT of the image
@ -233,6 +233,8 @@ something else inside the container, so you can override the default ENTRYPOINT
at runtime by using a **--entrypoint** and a string to specify the new
ENTRYPOINT.
You need to specify multi option commands in the form of a json string.
**-e**, **--env**=[]
Set environment variables