Docker Community Forums

Share and learn in the Docker community.

Registry failure

This is now failing:
curl --silent --header "Authorization: Bearer https://registry-1.docker.io/v2/mfthomps/onewayhash.onewayhash.student/blobs/sha256:df19c46c8a89af9e3c2f63ea4af3283ce5d7a6ec7b1b6fb3188b5c0856040bcb

Where is the “field” result of: curl --silent “https://auth.docker.io/token?scope=repository:mfthomps/onewayhash.onewayhash.student:pull&service=registry.docker.io

It is failing for all of my container images, which is now suddenly breaking our product for all of its users.
I had been working for years. Was there an API change?

To clarify: The curl is now returning nothing (no error). It previously returned the json.

The problem resulted in a change to DockerHub’s response to a registry/v2/blobs request. Previously, when a HTTP Temporary Redirect (e.g., to production.cloudflare.docker.com) occurred, that response was reported by curl. Now, a redirect is not reported by curl unless the verbose (-v) option is provided. And then, it comes back as STDERR instead of as STDOUT.