Eric
Eric

Reputation: 768

Can Google Container Registry (gcr) support Docker Image Manifest V 2, Schema 1?

From https://cloud.google.com/container-registry/docs/image-formats, I see gcr supports Docker Image Manifest V 2, Schema 1. However when I try to get the schema 1 manifest for an image (gcr.io/google-containers/busybox) via curl, it failed:

Unexpected HTTP response '404 Not Found' when trying to get the schema 1 manifest

So I am confused if gcr really support it or not.

Upvotes: 0

Views: 558

Answers (1)

shou3301
shou3301

Reputation: 214

What's your actual curl command?

Try

curl -v -H "Accept: application/vnd.docker.distribution.manifest.v1+prettyjws" https://gcr.io/v2/google-containers/busybox/manifests/latest

Upvotes: 1

Related Questions