Using _catalog in an API call to the OpenShift Container Registry throws a 400 error

Solution In Progress - Updated -

Issue

  • Trying to access the container registry catalog api to list all the docker images in the OpenShift internal registry throws an HTTP 400 error:

    # curl -kv -u username https://registry.openshift.example.com:5000/v2/_catalog
    Enter host password for user 'username':
    [...]
    < HTTP/1.1 400 Bad Request
    < Docker-Distribution-Api-Version: registry/2.0
    < Date: Mon, 18 Sep 2017 20:54:19 GMT
    < Content-Length: 0
    < Content-Type: text/plain; charset=utf-8
    < 
    * Connection #0 to host registry.openshift.example.com left intact
    

Environment

  • OpenShift Container Platform (OCP) 3.6, 3.7

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