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

Add support for OCI Image Index #244

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

luizribeiro
Copy link

To be honest, I don’t know enough about how Docker image manifests work, but from looking at the documentation it seems like OCI Image Index follows exactly the same format as Manifest Lists. So this makes us use that format for whenever we encounter the OCI Image Index MIME type.

This fixes #243 for me.

@chantra
Copy link

chantra commented Feb 5, 2024

I have a similar fix for pulling OCI Images from registry-1.docker.io.... it involves application/vnd.oci.image.manifest.v1+json media type.

@chantra
Copy link

chantra commented Feb 5, 2024

@PratikMahajan , I see you have been merging old PRs. May I put this one on your radar?

chantra added a commit to chantra/camallo-dkregistry-rs that referenced this pull request Feb 10, 2024
OCI Image Index (https://github.com/opencontainers/image-spec/blob/v1.0.1/image-index.md)
is similar to vnd.docker.distribution.manifest.list.v2

This revives camallo#244 originally created by @luizribeiro

A testing client could pull koenkk/zigbee2mqtt:latest with this change.

Fixes camallo#243
@luizribeiro
Copy link
Author

Thank you for reviving this @chantra, I appreciate it :)

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.

Support for application/vnd.oci.image.index.v1+json
3 participants