From 1a90b2fd363bec5f9b57c1cd829ceb5890270f8c Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Mon, 27 Aug 2018 11:22:28 -0400 Subject: allow specification of entrypoint in the form of a slice Signed-off-by: Daniel J Walsh Closes: #1352 Approved by: mheon --- docs/podman-create.1.md | 4 +++- docs/podman-run.1.md | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/podman-create.1.md b/docs/podman-create.1.md index b796717ae..b396fb6b5 100644 --- a/docs/podman-create.1.md +++ b/docs/podman-create.1.md @@ -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 diff --git a/docs/podman-run.1.md b/docs/podman-run.1.md index 8bd263f58..482ca1b32 100644 --- a/docs/podman-run.1.md +++ b/docs/podman-run.1.md @@ -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 -- cgit v1.2.3-54-g00ecf