Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement x-podman.pod_args to override --pod-args default #1133

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

neocturne
Copy link
Contributor

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 [email protected]

@neocturne neocturne force-pushed the pod-args branch 2 times, most recently from d6cb71a to 0abb47b Compare February 7, 2025 01:18
@neocturne neocturne marked this pull request as draft February 7, 2025 01:25
@neocturne neocturne marked this pull request as ready for review February 7, 2025 01:31
Copy link
Collaborator

@p12tic p12tic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, it looks good in principle. I had several comments about how it could be improved before merging.

@neocturne neocturne force-pushed the pod-args branch 2 times, most recently from 7e1f33e to ace2c40 Compare February 7, 2025 11:09
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 containers#1057.
Signed-off-by: Matthias Schiffer <[email protected]>
@p12tic p12tic merged commit fe9be2d into containers:main Feb 7, 2025
8 checks passed
@neocturne neocturne deleted the pod-args branch February 7, 2025 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

podman-compose extension for --pod-args
2 participants