3

I am looking for a mechanism to minimize docker pull traffic for a bunch of hosts which are provisioning the same docker image. I tried to use squid-cache but apparently it is no good as it has no mechanism to cache https. I can not setup a local-registry as well as the remote registry is not docker hub and as the remote is a private registry no mediator-private registry can work in that scenario as well. As the data being pulled is huge and repetitive, can someone suggest a method to help me out?

h.safe
  • 131

1 Answers1

2

Man in the middle the TLS connections with a proxy that will cache non Docker Hub requests. Requires pushing a CA certificate to all the Docker clients.

https://github.com/rpardini/docker-registry-proxy claims to implement such a thing.

John Mahowald
  • 36,071