mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
Quadlet Container: Add support for EnvironmentFile and EnvironmentHost
Add the new keys to the supported keys list for the Container group Pass the list of EnvironmentFile values while maintaining the order Quadlet e2e test framework: Add support for checking regex in Podman args Add relevant tests Update man Signed-off-by: Ygal Blum <ygal.blum@gmail.com>
This commit is contained in:
@ -93,6 +93,16 @@ Set an environment variable in the container. This uses the same format as
|
||||
[services in systemd](https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Environment=)
|
||||
and can be listed multiple times.
|
||||
|
||||
#### `EnvironmentFile=`
|
||||
|
||||
Use a line-delimited file to set environment variables in the container.
|
||||
The path may be absolute or relative to the location of the unit file.
|
||||
This key may be used multiple times, and the order persists when passed to `podman run`.
|
||||
|
||||
#### `EnvironmentHost=` (defaults to `no`)
|
||||
|
||||
Use the host environment inside of the container.
|
||||
|
||||
#### `Exec=`
|
||||
|
||||
If this is set then it defines what command line to run in the container. If it is not set the
|
||||
|
Reference in New Issue
Block a user