oc import-image command fails with "Import failed (NotFound)" error
Issue
-
The import of an image using the
oc import-image
command fails with errorImport failed (NotFound)
although the image exists and can be pulled:error: tag xxxxxxx failed: dockerimage.image.openshift.io "192.168.1.1:443/mytest/hello- world:xxxxxxx" not found imagestream.image.openshift.io/hello-world imported with errors
! error: Import failed (NotFound): dockerimage.image.openshift.io "192.168.1.1:443/mytest/hello-world:latest" not found
-
Trying to import an OCI image with
oc import-image
command fails withImport failed (NotFound)
.
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.