Docker Community Forums

Share and learn in the Docker community.

Unable to pull from dockerhub - Need host/port map required for proxy


(Freddy) #1

I am trying to pull a docker container image from DockerHub on a RHEL7.1 VM with docker-1.6.0-11.el7.x86_64. We have to use a corporate proxy but it’s currently configured to bypass decryption and certificate validation for docker.io as well as redhat.com and the red hat akamai urls. I’m able to successfully pull registry.access.redhat.com/rhel7 successfully. Here’s what happens when I try to pull an image from DockerHub:

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
[]# docker pull distribution/registry
Trying to pull repository registry.access.redhat.com/distribution/registry … not found
Trying to pull repository docker.io/distribution/registry … failed
FATA[0007] Get https://registry-1.docker.io/v1/repositories/distribution/registry/tags: read tcp :: connection reset by peer.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Can someone point me in the right direction? A definitive list of domains/hostnames and ports would help a lot. Or if there is a way to capture more debug output. I have pcaps but they are not very revealing.

thank you!


(Moonsyim) #2

I have exactly same issue here.
Would you please share how you fixed this issue?

MoonY