Skip to content

config: add env_merge support to containers.conf#791

Open
jiwahn wants to merge 1 commit intocontainers:mainfrom
jiwahn:feat/env-merge-containers-conf-28410
Open

config: add env_merge support to containers.conf#791
jiwahn wants to merge 1 commit intocontainers:mainfrom
jiwahn:feat/env-merge-containers-conf-28410

Conversation

@jiwahn
Copy link
Copy Markdown

@jiwahn jiwahn commented Apr 25, 2026

Allow users to set default env_merge values in containers.conf. Intended to work the same as the --env-merge CLI option.

Changes

  • Add EnvMerge []string field to ContainersConfig struct (config.go)
  • Set default value to empty slice (default.go)
  • Add commented-out env_merge = [] entry to containers.conf template
  • Add documentation to containers.conf.5.md

Allow users to set default env_merge values in containers.conf.
Works the same as the --env-merge CLI option.

Fixes: containers/podman#28410
Signed-off-by: Jiwoo Ahn <ikwydls1314@gmail.com>
@github-actions github-actions Bot added the common Related to "common" package label Apr 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

common Related to "common" package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant