mirror of
https://github.com/containers/podman-compose.git
synced 2025-08-09 13:54:59 +02:00
Implement x-podman.pod_args to override --pod-args default
Allow setting an argument list as x-podman.pod_args to override the default value `--infra=false --share=`. `--pod-args` passed on the command line takes precedence over the value set in docker-compose.yml; the values are not merged. Fixes #1057. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
@ -140,6 +140,7 @@ def set_args(podman_compose: PodmanCompose, file_names: list[str]) -> None:
|
||||
podman_compose.global_args.env_file = None
|
||||
podman_compose.global_args.profile = []
|
||||
podman_compose.global_args.in_pod_bool = True
|
||||
podman_compose.global_args.pod_args = None
|
||||
podman_compose.global_args.no_normalize = True
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user