Docker pull fails to GET https://registry.redhat.io/ content

Solution Verified - Updated -

Issue

  • When running OCP or the Red Hat-provided docker packages from behind a proxy, redhat.io content is forbidden:

    # docker --log-level=debug pull registry.access.redhat.com/openshift3/metrics-hawkular-metrics:3.5.0 | tee dockerpull.out
    Trying to pull repository registry.access.redhat.com/openshift3/metrics-hawkular-metrics ...
    Get https://registry.redhat.io/containers/content/dist/rhel/server/7/7Server/x86_64/ose/3/containers/registry/openshift3/metrics-hawkular-metrics/manifests/3.5.0: Forbidden
    
  • Trying to pull a docker image from registry.connect.redhat.com results in a "Forbidden" error:

    # docker pull registry.connect.redhat.com/couchbase/operator:1.0.0-1
    Trying to pull repository registry.connect.redhat.com/couchbase/operator ...
    1.0.0-1: Pulling from registry.connect.redhat.com/couchbase/operator
    vb12636467c49: Downloading
    b538cc6febe6: Downloading
    5b150f598234: Downloading
    e4e6ce87a8de: Downloading
    e88b07307d72: Downloading
    a70dc0b87b2f: Downloading
    18793978a9fb: Downloading
    Forbidden
    

Environment

  • Red Hat OpenShift Container Platform (OCP) 3.x with a proxy configuration in /etc/sysconfig/docker
  • Red Hat-provided docker packages with a proxy configuration in /etc/sysconfig/docker

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