如何使用 curl 命令获取清单 v2 架构版本 2

Liz*_* Qi 5 curl docker dockerfile docker-image

curl -H "Authorization: Bearer $BEARER" \
     -H "Accept: application/vnd.docker.image.manifest.v2+json" \
     https://registry-1.docker.io/v2/$NAME/manifests/sha256:3eb57a4024e69d05ace49be70ab9d13610cfe611a0191c7edc26f5a2b675e7b1
Run Code Online (Sandbox Code Playgroud)

以上是我使用的命令。我已经在标题中将 Accept 字段设置为模式版本 2清单媒体类型,但它仍然返回模式版本 1 的清单