Image pull from a private registry fails with 502 bad gateway error
Issue
- While pulling the images from a private registry the image pull process fails with an error:
502 bad gateway
:
"Failed to pull image "<registry-name>:port/projectname/image:tage": rpc error: code = Unknown desc = pinging container registry <registry-name>:port: invalid status code from registry 502 (Bad Gateway)"
Environment
- Red Hat OpenShift Container Platform
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.