What HTTPS proxy rules are required to pull images from docker.io?

Solution In Progress - Updated -

Issue

  • What HTTPS proxy rules are required to pull images from docker.io?
  • Docker unable to pull images from DockerHub
  • We have to use a corporate proxy. I'm able to successfully pull registry.access.redhat.com/rhel7 successfully.
  • Pulling an image from Docker Hub fails:
# 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 10.0.0.1:8443: connection reset by peer.

Environment

  • Red Hat Enterprise Linux 7
  • docker commandline tool
  • HTTPS SSL TLS proxy between docker client and access to the internet

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.