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

Only override service mac if set on the main network. #12439

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

apollo13
Copy link
Contributor

@apollo13 apollo13 commented Jan 7, 2025

What I did

I am using compose against podman which exposes API 1.41 and as such does not yet support mac per network. But the existing code unconditionally overrides the mac address set on the service level with the mac from the main network even if none is defined -- hence only override if it is actually set.

Related issue

(not mandatory) A picture of a cute animal, if possible in relation to what you did

@ndeloof ndeloof enabled auto-merge (rebase) January 7, 2025 15:08
@ndeloof ndeloof merged commit 2ebb475 into docker:main Jan 7, 2025
23 checks passed
@apollo13 apollo13 deleted the fb-container-mac branch January 7, 2025 15:22
@apollo13
Copy link
Contributor Author

apollo13 commented Jan 7, 2025 via email

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.

2 participants