-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Consider publishing .NET base images as OCI formats instead of Docker formats #6148
Comments
Perhaps stating the obvious, but this would be a breaking change and should be for new images only, meaning the earliest we could consider switching is .NET 10. |
It would be great if we had user feedback to drive this change. This would help us balance any breaking changes w/benefits. Have any of the official images on any of the big registries changes to this format? |
I haven't done an exhaustive search but the one that caused the SDK to support reading image manifests way back when was the official nginx container (at least for the alpine tag). It advertises quite a few sub-manifests: unecessarily long manifest list
It would be good to have more structure around the request - I just wanted to have a place to hang the discussion on :) |
For further clarification, the actual internal customer need was to emit OCI formats. Today, if the base image used for an SDK-generated container is OCI, we will emit OCI. As a result, no applications based off of the .NET base images will be OCI. In dotnet/sdk#46011 we've added a flag that will allow a user to request a specific format, OCI or Docker - this should satisfy the internal customer need and prevent any sort of pressure to implement this issue. We should have plenty of space to do research before moving here. |
Describe the Problem
The .NET base images today are publishes to MCR as Docker Manifest Lists comprised of individual Docker Manifests. These formats are older, but over the years the OCI formats have become the commonly-accepted standard. .NET should embrace this change and produce OCI-compatible Image Indexes and Images for our base images.
References
The text was updated successfully, but these errors were encountered: