# JFrog Artifactory for ECE Docker repository

**URL:** <https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [February 24, 2019, 4:14pm UTC](https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734 "2019-02-24T16:14:39Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Randy-312](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/randy-312/32/19451_2.png) [@Randy-312](https://discuss.elastic.co/u/Randy-312)\
**Post date:** [February 24, 2019, 4:14pm UTC](https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734/1 "2019-02-24T16:14:39Z")

</div>

Has anyone connected ECE to use Artifactory as the docker repo?  
If so, I would welcome hearing of any challenges that you encountered in doing so. Especially around security / authentication if you were required to put that in place for Artifactory.

---

<div class="post-metadata">

**Author:** ![zanbel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zanbel/32/20678_2.png) [@zanbel](https://discuss.elastic.co/u/zanbel)\
**Post date:** [February 24, 2019, 4:36pm UTC](https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734/2 "2019-02-24T16:36:02Z")

</div>

Hi @Randy-312,

Yes. We have a few customers successfully installed ECE while using their own private registry to host the required docker images.  
There is a dedicated parameter `--docker-registry` you can pass to indicate you want to install from a registry other than the default `docker.elastic.co`. This [page](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-installing-offline.html) specifies which docker images must be available base of the ECE version you want to install.  
With regard to security, you need to make sure the docker running on the host has successfully logged in to the relevant registry and have sufficient permission to pull the relevant images but there is nothing unusual here.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Randy-312](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/randy-312/32/19451_2.png) [@Randy-312](https://discuss.elastic.co/u/Randy-312)\
**Post date:** [February 24, 2019, 7:34pm UTC](https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734/3 "2019-02-24T19:34:44Z")

</div>

Zanbel,  
We're also using the offline installation method today.  
I am trying to confirm if anyone had used Artifactory specifically though.

---

<div class="post-metadata">

**Author:** ![zanbel](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zanbel/32/20678_2.png) [@zanbel](https://discuss.elastic.co/u/zanbel)\
**Post date:** [February 25, 2019, 8:12am UTC](https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734/4 "2019-02-25T08:12:36Z")

</div>

Got it. Internally in Elastic we don't, but I've personally assisted a customer to set it up in the past.  
If you are looking for feedback from other users happy to leave this one open and see if anyone can provide additional input.

---

<div class="post-metadata">

**Author:** ![Randy-312](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/randy-312/32/19451_2.png) [@Randy-312](https://discuss.elastic.co/u/Randy-312)\
**Post date:** [March 10, 2019, 5:23pm UTC](https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734/5 "2019-03-10T17:23:58Z")

</div>

Good to know.  
Yes.. Let's leave this open for more of the community to weigh in.

---

<div class="post-metadata">

**Author:** ![infomaniac](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/infomaniac/32/24996_2.png) [@infomaniac](https://discuss.elastic.co/u/infomaniac)\
**Post date:** [March 20, 2019, 5:00pm UTC](https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734/6 "2019-03-20T17:00:09Z")

</div>

We have successfully used Nexus3 as a private Docker registry to handle everything ECE/Docker. The process is simple and not bound to any product like Artifactory but works with any Docker registry.

1. Pull the required images, e.g.  
`docker pull docker.elastic.co/cloud-enterprise/elastic-cloud-enterprise:2.1.0`
2. Retag for your own registry  
`docker tag docker.elastic.co/cloud-enterprise/elastic-cloud-enterprise:2.1.0 myregistry.myenterprise.com/cloud-enterprise/elastic-cloud-enterprise:2.1.0`
3. Push  
`docker push myregistry.myenterprise.com/cloud-enterprise/elastic-cloud-enterprise:2.1.0`
4. **Ensure** your hosts can `docker pull myregistry.myenterprise.com/cloud-enterprise/elastic-cloud-enterprise:2.1.0` successfully. If not, you might have to login using `docker login myregistry.myenterprise.com`
5. Then install ECE with either using the mentioned parameter or by modifying the installer script.

If you want to add new versions of the elastic stack, then ...

1. Download the new stack-file from [https://www.elastic.co/guide/en/cloud-enterprise/current/ece-manage-elastic-stack.html](https://www.elastic.co/guide/en/cloud-enterprise/current/ece-manage-elastic-stack.html)
2. Unzip the stack file, look for the file called `stack.json`
3. Download images =\> `pull`, `tag` and `push` each of the mentioned docker images;
4. Modifiy `stack.json` =\> change each `docker.elastic.co/...` to `myregistry.myenterprise.com/...`
5. Zip again
6. Upload Stack-Zip to your ECE installation

Hope this helps.

PS: Your Docker registry should support SSL or must be declared as insecure registry on your Docker host.

---

<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:** [April 3, 2019, 5:00pm UTC](https://discuss.elastic.co/t/jfrog-artifactory-for-ece-docker-repository/169734/7 "2019-04-03T17:00:15Z")

</div>

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