mirror of
https://github.com/containers/podman.git
synced 2025-06-05 05:57:24 +08:00

Allow end users to preprocess default environment variables before injecting them into container using `--env-merge` Usage ``` podman run -it --rm --env-merge some=${some}-edit --env-merge some2=${some2}-edit2 myimage sh ``` Closes: https://github.com/containers/podman/issues/15288 Signed-off-by: Aditya R <arajan@redhat.com>
6 lines
258 B
Markdown
6 lines
258 B
Markdown
#### **--env-merge**=*env*
|
|
|
|
Preprocess default environment variables for the containers. For example
|
|
if image contains environment variable `hello=world` user can preprocess
|
|
it using `--env-merge hello=${hello}-some` so new value will be `hello=world-some`.
|