Docker pull from private v2 registry fails with image not found

Solution In Progress - Updated -

Issue

  • Docker pull is not working, even though image exists in registry

    # docker pull registry.example.com:5000/myrhel7
    Using default tag: latest
    Trying to pull repository registry.example.com:5000/myrhel7 ... not found
    Error: image myrhel7:latest not found
    
  • docker pull fails with image not found, and docker daemon debug logs show the following error:

    level=debug msg="Error trying v2 registry: Get 
    http://registry.example.com:5000/v2/myrhel7/manifests/latest: no basic 
    auth credentials"
    

Environment

  • Red Hat Enterprise Linux 7
  • docker-distribution
  • OpenShift Container Platform 3.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.