mirror of
https://github.com/containers/podman.git
synced 2025-05-22 17:46:52 +08:00
podman: split env variables in env and overrides
There are three different priorities for applying env variables: 1) environment/config file environment variables 2) image's config 3) user overrides (--env) The third kind are known to the client, while the default config and image's config is handled by the backend. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com> Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:

committed by
Daniel J Walsh

parent
1d3cdf9a46
commit
99bdafba99
@ -278,7 +278,7 @@ See [**Environment**](#environment) note below for precedence and examples.
|
||||
|
||||
**--env-host**=*true|false*
|
||||
|
||||
Use host environment inside of the container. See **Environment** note below for precedence.
|
||||
Use host environment inside of the container. See **Environment** note below for precedence. (Not available for remote commands)
|
||||
|
||||
**--env-file**=*file*
|
||||
|
||||
@ -347,7 +347,7 @@ the container should not use any proxy. Proxy environment variables specified
|
||||
for the container in any other way will override the values that would have
|
||||
been passed through from the host. (Other ways to specify the proxy for the
|
||||
container include passing the values with the `--env` flag, or hard coding the
|
||||
proxy environment at container build time.)
|
||||
proxy environment at container build time.) (Not available for remote commands)
|
||||
|
||||
For example, to disable passing these environment variables from host to
|
||||
container:
|
||||
|
@ -294,7 +294,7 @@ See [**Environment**](#environment) note below for precedence and examples.
|
||||
|
||||
**--env-host**=**true**|**false**
|
||||
|
||||
Use host environment inside of the container. See **Environment** note below for precedence.
|
||||
Use host environment inside of the container. See **Environment** note below for precedence. (Not available for remote commands)
|
||||
|
||||
**--env-file**=*file*
|
||||
|
||||
@ -363,7 +363,7 @@ the container should not use any proxy. Proxy environment variables specified
|
||||
for the container in any other way will override the values that would have
|
||||
been passed through from the host. (Other ways to specify the proxy for the
|
||||
container include passing the values with the **--env** flag, or hard coding the
|
||||
proxy environment at container build time.)
|
||||
proxy environment at container build time.) (Not available for remote commands)
|
||||
|
||||
Defaults to **true**.
|
||||
|
||||
|
Reference in New Issue
Block a user