-
Notifications
You must be signed in to change notification settings - Fork 216
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
Support OCI images #87
Comments
Thanks for the suggestion. We will add this into the master branch with
some additional command line argument (--oci, I think)
Dne út 28. 1. 2020 21:04 uživatel stelford <[email protected]>
napsal:
… Howdy.
Currently, if I run registry against a docker registry which has OCI
images (generated from podman for example). I get the dreaded "OCI manifest
found, but accept header does not support OCI manifests" when using this
tool. If any one runs into this, the fix is pretty darned simple. Please
change the registry.py as below;
HEADERS = {"Accept":
- "application/vnd.docker.distribution.manifest.v2+json"}
+ "application/vnd.docker.distribution.manifest.v2+json,application/vnd.oci.image.manifest.v1+json"}
Regards.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#87?email_source=notifications&email_token=AECNB634AVPCTFD5BKFBKKTRACFTHA5CNFSM4KMYOFMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IJKSDQQ>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AECNB64XVTEL662F5I53WTLRACFTHANCNFSM4KMYOFMA>
.
|
There is another type. oci index images that gets generated by buildkit cache exports.
Accpept value. Unfortunatly simply adding this to the Accept header is not sufficient. When trying to delete images older than x hours I get:
I assume that the manifest is a bit different but it would be great if this tool could support them as well! It really helps with the CI cleanup. |
related to docker/buildx#1509: as of v0.10.0, OCI manifests are pushed by default |
I ran into same issue on a different project; I don't follow build/docker/oci specification so I just searched through github and shoved:
into |
Howdy.
Currently, if I run registry against a docker registry which has OCI images (generated from podman for example). I get the dreaded "OCI manifest found, but accept header does not support OCI manifests" when using this tool. If any one runs into this, the fix is pretty darned simple. Please change the registry.py as below;
Regards.
The text was updated successfully, but these errors were encountered: