You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can skopeo copy an image from one path to another. Does the ref.name get updated accordingly? Alternatively, just because ref.name is set a certain way, does it impose restrictions on where it can be pushed?
Copying these images with skopeo works, but that is not my use case.
My use case is that I export images with the docker oci exporter to a certain file directory, and have a zot registry running which uses this file directory to serve images.
As I understood zot, this is one of the main features:
zot version
v2.1.0
Describe the bug
Zot does not serve OCI images created with docker OCI exporter. Instead it answers with a 404 response.
The reason is that docker writes the full image name with the tag in the org.opencontainers.image.ref.name annotation in the index.json file. But according to the OCI spec this is actually allowed: https://github.com/opencontainers/image-spec/blob/5325ec48851022d6ded604199a3566254e72842a/annotations.md#:~:text=org.opencontainers.image.ref.name
See also my initial bug raised against buildkit: moby/buildkit#4615
To reproduce
docker buildx build . --output="type=oci,tar=false,dest=/tmp/registry/foo,name=bar"
Expected behavior
Zot can serve images with a full image name in the org.opencontainers.image.ref.name annotation, instead of just the tag.
Screenshots
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: