# Docker proxy cache registry for docker.elastic.co

**URL:** <https://discuss.elastic.co/t/docker-proxy-cache-registry-for-docker-elastic-co/100283>\
**Category:** Elasticsearch\
**Created:** [September 13, 2017, 4:58am UTC](https://discuss.elastic.co/t/docker-proxy-cache-registry-for-docker-elastic-co/100283 "2017-09-13T04:58:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![otep.fabales](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@otep.fabales](https://discuss.elastic.co/u/otep.fabales)\
**Post date:** [September 13, 2017, 4:58am UTC](https://discuss.elastic.co/t/docker-proxy-cache-registry-for-docker-elastic-co/100283/1 "2017-09-13T04:58:58Z")

</div>

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](http://docker.elastic.co), how can we configure the proxy cache to connect to [elastic.co](http://elastic.co)'s docker registry?

Thanks in advace,  
Joseph

---

<div class="post-metadata">

**Author:** ![otep.fabales](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@otep.fabales](https://discuss.elastic.co/u/otep.fabales)\
**Post date:** [September 18, 2017, 2:16am UTC](https://discuss.elastic.co/t/docker-proxy-cache-registry-for-docker-elastic-co/100283/2 "2017-09-18T02:16:03Z")

</div>

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](http://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.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 16, 2017, 2:16am UTC](https://discuss.elastic.co/t/docker-proxy-cache-registry-for-docker-elastic-co/100283/3 "2017-10-16T02:16:21Z")

</div>

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