Unable to pull images from internal image registry using alternate service name in RHOCP 4

Solution Verified - Updated -


  • Unable to pull image using an alternative service name:
17m         Warning   Failed           pod/maven-zqqnh             Failed to pull image "docker-registry.default.svc:5000/openshift3/jenkins-agent-maven-35-rhel7:v3.11": rpc error: 
code = Unknown desc = pinging container registry docker-registry.default.svc:5000: Get "https://docker-registry.default.svc:5000/v2/": dial tcp: lookup docker- registry.default.svc on no such host


  • Red Hat OpenShift Container Platform 4

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