Skip to content

Implement override and reset analog to docker-compose #1189

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

Merged
merged 6 commits into from
May 7, 2025

Conversation

mokibit
Copy link
Contributor

@mokibit mokibit commented Apr 30, 2025

This PR improves podman-compose compatibility with docker-compose by implementing reset and override functionality when merging several compose files.
Corresponding Docker compose file documentation:
https://docs.docker.com/reference/compose-file/merge/.

This PR completes and improves PR: #830 and fixes #1114.

Thanks to @SebTM for contribution, implementing this feature was based on his solution.

@mokibit mokibit force-pushed the add-merge-reset-override branch 2 times, most recently from 57263cb to 550fdca Compare April 30, 2025 20:21
@mokibit mokibit changed the title Add reset and override funcionality when merging several compose files Implement override and reset analog to docker-compose Apr 30, 2025
@mokibit mokibit force-pushed the add-merge-reset-override branch 3 times, most recently from c47fc9b to f19e186 Compare April 30, 2025 20:35
@mokibit mokibit force-pushed the add-merge-reset-override branch from f19e186 to 1dab256 Compare April 30, 2025 20:37
@p12tic p12tic merged commit d532e09 into containers:main May 7, 2025
8 checks passed
@mokibit mokibit deleted the add-merge-reset-override branch May 8, 2025 10:38
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.

[feature parity \w docker-compose] Support !reset and !override tags
3 participants