从 https://cloud.google.com/container-registry/docs/image-formats ,我看到gcr支持docker映像清单v 2,模式1。但是,当我尝试获取映像的架构1清单时( gcr.io/google-containers/busybox 通过 curl 失败了:
gcr.io/google-containers/busybox
curl
尝试获取架构1清单时出现意外的http响应“404未找到”
所以我很困惑GCR是否真的支持它。
你的实际情况是什么 curl 命令?
尝试
curl -v -H "Accept: application/vnd.docker.distribution.manifest.v1+prettyjws" https://gcr.io/v2/google-containers/busybox/manifests/latest