mirror of
https://github.com/containers/podman.git
synced 2025-10-29 08:57:26 +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>
258 B
258 B
--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.