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

question: Docker Media Type versus OCI Media Type #1793

Open
joaopapereira opened this issue Sep 21, 2023 · 3 comments
Open

question: Docker Media Type versus OCI Media Type #1793

joaopapereira opened this issue Sep 21, 2023 · 3 comments
Labels
question Further information is requested

Comments

@joaopapereira
Copy link
Contributor

Is there any particular reason for us to be using the Docker Manifest media type in places like https://github.com/google/go-containerregistry/blob/main/pkg/v1/empty/image.go#L32 instead of using the MediaType defined in the OCI Image Spec?

Copy link

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Keep fresh with the 'lifecycle/frozen' label.

@django1194
Copy link

Additionally, this causes issues with certain platforms such as OpenShift that will report unsupported media type dockerv2s2. I'm having to convert everything to OCI format but it super annoying having to do it with this too.

Perhaps as a way of keeping backwards compatability we could add a constructor that allows us to specify the media type?

@codingben
Copy link

I opened PR to modify it: #1905

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants