Docker pull from standalone registry fails with "unauthorized: authentication required".

Solution Verified - Updated -

Issue

  • Standalone registry is configured to allow anonymous users to pull the images. Still docker pull from standalone registry fails with "unauthorized: authentication required".
# docker pull docker-registry-default.example.com/project/image:latest
Trying to pull repository docker-registry-default.example.com/project/image ... 
Get https://docker-registry-default.example.com/v2/project/image/manifests/latest: unauthorized: authentication required

Environment

  • OpenShift Container Platform
    • 3.10

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content