mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Document proxy env var precedence
Signed-off-by: Jordan Christiansen <xordspar0@gmail.com>
This commit is contained in:
@ -1123,6 +1123,7 @@ Environment variables within containers can be set using multiple different opti
|
||||
Precedence order (later entries override earlier entries):
|
||||
|
||||
- **--env-host** : Host environment of the process executing Podman is added.
|
||||
- **--http-proxy**: By default, several environment variables will be passed in from the host, such as **http_proxy** and **no_proxy**. See **--http-proxy** for details.
|
||||
- Container image : Any environment variables specified in the container image.
|
||||
- **--env-file** : Any environment variables specified via env-files. If multiple files specified, then they override each other in order of entry.
|
||||
- **--env** : Any environment variables specified will override previous settings.
|
||||
|
@ -1402,6 +1402,7 @@ Environment variables within containers can be set using multiple different opti
|
||||
in the following order of precedence (later entries override earlier entries):
|
||||
|
||||
- **--env-host**: Host environment of the process executing Podman is added.
|
||||
- **--http-proxy**: By default, several environment variables will be passed in from the host, such as **http_proxy** and **no_proxy**. See **--http-proxy** for details.
|
||||
- Container image: Any environment variables specified in the container image.
|
||||
- **--env-file**: Any environment variables specified via env-files. If multiple files specified, then they override each other in order of entry.
|
||||
- **--env**: Any environment variables specified will override previous settings.
|
||||
|
Reference in New Issue
Block a user