Docker proxy cache registry for docker.elastic.co


#1

Hi,

We have a docker proxy cache configured which points to docker hub's registry but since elasticsearch is now officially on docker.elastic.co, how can we configure the proxy cache to connect to elastic.co's docker registry?

Thanks in advace,
Joseph


Creating a proxy cache registry for docker.elastic.co
#2

Ok so after some tests, I was able to just create an additional docker registry as a private registry. Then I would pull the elasticsearch image from elastic.co, add a tag and push that image to my private registry. Then I would add another entry to my registry-mirrors setting for my daemon and include both URLs for my proxy cache and private registry. The reason why they are separated from each other is because you cannot push local images to a proxy cache registry.
The reason why I'm doing this is because our users don't have direct access to the internet so they can only pull images from docker hub because of the proxy cache, now they can pull images from other registries as well although there is a need to pull and push images regularly.
I am also looking at Nexus 3 Repository Manager.


(system) #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.