Error extracting the `openshift-install` binary from the OpenShift image in a disconnected environment
Issue
- 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 quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:938f394fffbea23e872524949bc883ac3b82e27fc11e12b275ea35d5393f0603: Get https://quay.io/v2/: dial tcp: lookup quay.io on 10.0.0.1:53: no such host
Environment
- 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.