-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Description
Images generated by apko.kontain.me mix media types
$ crane manifest apko.kontain.me/bash
{"schemaVersion":2,"mediaType":"application/vnd.docker.distribution.manifest.v2+json","config":{"mediaType":"application/vnd.docker.container.image.v1+json","size":382,"digest":"sha256:24365d2b961cfedcc9c8692a71027e53c1d66a148b9c1b82cd469b5a6becc398"},"layers":[{"mediaType":"application/vnd.oci.image.layer.v1.tar+gzip","size":4504114,"digest":"sha256:6da34af9805bc6e1790d9c5ae97120b9477ada0b9f24a6071d14d3b220e66410"}]}i.e. the image is of type application/vnd.docker.distribution.manifest.v2+json while the layer is of type application/vnd.oci.image.layer.v1.tar+gzip.
This isn't a problem for docker,containerd et. al. apparently but cri-o, skopeo and friends don't handle this in the same way
skopeo inspect docker://apko.kontain.me/bash
FATA[0000] Error parsing manifest for image: unsupported docker v2s2 media type: "application/vnd.oci.image.layer.v1.tar+gzip"or from a openshift cluster
Warning Failed 52m (x4 over 54m) kubelet Failed to pull image "apko.kontain.me/bash": rpc error: code = Unknown desc = unsupported docker v2s2 media type: "application/vnd.oci.image.layer.v1.tar+gzip"Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working