Unable to push a docker image to Openshift Online internal registry

Solution Verified - Updated -

Issue

  • Failing to push an image to the OpenShift Internal registry

    # docker push <image-name:tag>
    The push refers to repository [docker.io/..../....]
    7aafee95a636: Preparing
    d2002240de5d: Preparing
    c431418f6075: Preparing
    be269c61895e: Preparing
    9d93ce18f76e: Preparing
    c0326cfaf747: Waiting
    040fd7841192: Waiting
    denied: requested access to the resource is denied
    
    # docker push registry.[cluster-id].openshift.com/[project_name]/
    
    
    e9f38dc2sc11: Preparing
    je9ib327d130: Preparing
    x4a5a378dea2: Preparing
    059daof25005: Preparing
    496d5b2d3sf1: Preparing
    07hd8vd76567: Waiting
    unauthorized: authentication required
    

Environment

  • Red Hat OpenShift Online V3

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