Error extracting the `openshift-install` binary from the OpenShift image in a disconnected environment

Solution Verified - Updated -


  • Command oc adm release extract is trying to download the image from the internet in a disconnected environment.
  • Error trying to extract openshift-install binary from an image:

    $ oc adm -a ${LOCAL_SECRET_JSON} release extract --command=openshift-install "${LOCAL_REGISTRY}/${LOCAL_REPOSITORY}:${OCP_RELEASE}-${ARCHITECTURE}"
    error: unable to connect to image repository Get dial tcp: lookup on no such host


  • Red Hat OpenShift Container Platform
    • 4.3
    • 4.4
    • 4.5
    • 4.6
    • 4.7
    • 4.8
    • 4.9
    • 4.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