aboutsummaryrefslogtreecommitdiff
path: root/docs/source/markdown/podman-exec.1.md
diff options
context:
space:
mode:
authoropenshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com>2022-06-19 17:16:32 +0000
committerGitHub <noreply@github.com>2022-06-19 17:16:32 +0000
commit55052c6b9807b5a51b50abc90e391e872be450c2 (patch)
treebd0adeba31514a9fb1d883f3b4b1765761fce2a2 /docs/source/markdown/podman-exec.1.md
parentff06c791ad7fb32b6a055e0d005f7354df43a5d1 (diff)
parentdda68201a40ca68cfce3cddb3c1fba9446719b47 (diff)
downloadpodman-55052c6b9807b5a51b50abc90e391e872be450c2.tar.gz
podman-55052c6b9807b5a51b50abc90e391e872be450c2.tar.bz2
podman-55052c6b9807b5a51b50abc90e391e872be450c2.zip
Merge pull request #14657 from eriksjolund/rewrite_env_docs
[CI:DOCS] Rewrite --env docs
Diffstat (limited to 'docs/source/markdown/podman-exec.1.md')
-rw-r--r--docs/source/markdown/podman-exec.1.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/docs/source/markdown/podman-exec.1.md b/docs/source/markdown/podman-exec.1.md
index 5fb4ceace..da61f3456 100644
--- a/docs/source/markdown/podman-exec.1.md
+++ b/docs/source/markdown/podman-exec.1.md
@@ -21,10 +21,11 @@ Start the exec session, but do not attach to it. The command will run in the bac
Specify the key sequence for detaching a container. Format is a single character `[a-Z]` or one or more `ctrl-<value>` characters where `<value>` is one of: `a-z`, `@`, `^`, `[`, `,` or `_`. Specifying "" will disable this feature. The default is *ctrl-p,ctrl-q*.
-#### **--env**, **-e**
+#### **--env**, **-e**=*env*
-You may specify arbitrary environment variables that are available for the
-command to be executed.
+Set environment variables.
+
+This option allows arbitrary environment variables that are available for the process to be launched inside of the container. If an environment variable is specified without a value, Podman will check the host environment for a value and set the variable only if it is set on the host. As a special case, if an environment variable ending in __*__ is specified without a value, Podman will search the host environment for variables starting with the prefix and will add those variables to the container.
#### **--env-file**=*file*