mirror of
https://github.com/containers/podman.git
synced 2025-11-30 10:07:33 +08:00
14 lines
849 B
Markdown
14 lines
849 B
Markdown
####> This option file is used in:
|
|
####> podman podman-build.unit.5.md.in, podman-container.unit.5.md.in, create, exec, run
|
|
####> If file is edited, make sure the changes
|
|
####> are applicable to all of those.
|
|
<< if is_quadlet >>
|
|
### `Environment=env=value [env=value ...]`
|
|
<< else >>
|
|
#### **--env**, **-e**=*env*
|
|
<< endif >>
|
|
|
|
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 checks 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 searches the host environment for variables starting with the prefix and adds those variables to the container.
|