Skip to content

Containers: support building multi-arch with podman.#53333

Merged
lbussell merged 7 commits intodotnet:release/11.0.1xx-preview4from
tmds:podman-multi-arch
Apr 29, 2026
Merged

Containers: support building multi-arch with podman.#53333
lbussell merged 7 commits intodotnet:release/11.0.1xx-preview4from
tmds:podman-multi-arch

Conversation

@tmds
Copy link
Copy Markdown
Member

@tmds tmds commented Mar 9, 2026

Fixes #52634.

@dotnet/sdk-container-builds-maintainers ptal.

@tmds tmds requested a review from a team as a code owner March 9, 2026 15:51
@github-actions github-actions Bot added the Area-Containers Related to dotnet SDK containers functionality label Mar 9, 2026
@@ -1522,7 +1522,7 @@ public void EnforcesOciSchemaForMultiRIDTarballOutput()
"/p:EnableSdkContainerSupport=true",
"/p:ContainerArchiveOutputPath=archive.tar.gz",
"-getProperty:GeneratedImageIndex",
"-getItem:GeneratedContainers",
"-getItem:GeneratedContainer",
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This test is probably not running in CI and it seems it regressed a bit. The changes should also be needed to make this pass with docker.

@tmds
Copy link
Copy Markdown
Member Author

tmds commented Mar 17, 2026

@baronfel @dotnet/sdk-container-builds-maintainers ptal.

@tmds
Copy link
Copy Markdown
Member Author

tmds commented Mar 31, 2026

@lbussell I look forward to see this land in a preview near me.

Copy link
Copy Markdown
Member

@lbussell lbussell left a comment

Choose a reason for hiding this comment

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

@tmds What's the minimum version of podman required for this, do you know? From my limited research it looks like it's available in Ubuntu 22.04, Debian 12, supported Fedoras, and RHEL 8+ AppStream. I want to make sure we don't have some new unexpected behavior if a user tries this on a distro that we still technically support.

Comment thread src/Containers/Microsoft.NET.Build.Containers/LocalDaemons/DockerCli.cs Outdated
Comment thread src/Containers/Microsoft.NET.Build.Containers/LocalDaemons/DockerCli.cs Outdated
@tmds
Copy link
Copy Markdown
Member Author

tmds commented Apr 20, 2026

What's the minimum version of podman required for this, do you know?

It seems to be available even before v2.2.0 (5+ years ago).
references: https://github.com/containers/podman/releases/tag/v2.2.0, https://docs.podman.io/en/v2.2.0/markdown/podman-manifest.1.html

@lbussell lbussell changed the base branch from main to release/11.0.1xx-preview4 April 24, 2026 16:34
@lbussell
Copy link
Copy Markdown
Member

/ba-g Crashes in Microsoft.NET.Build.Tasks.Tests.dll and Microsoft.CodeAnalysis.NetAnalyzers.UnitTests.dll are unrelated.

@lbussell lbussell merged commit cc2cac4 into dotnet:release/11.0.1xx-preview4 Apr 29, 2026
18 of 23 checks passed
@tmds
Copy link
Copy Markdown
Member Author

tmds commented Apr 29, 2026

Thanks @lbussell! I look forward to try this in an upcoming preview!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Containers Related to dotnet SDK containers functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Publishing multi-arch images depends on Docker Desktop

2 participants