# \[feature\] Change default docker registry in operator command line flags

**URL:** <https://discuss.elastic.co/t/feature-change-default-docker-registry-in-operator-command-line-flags/210801>\
**Category:** Elastic Cloud on Kubernetes (ECK)\
**Created:** [December 6, 2019, 2:06am UTC](https://discuss.elastic.co/t/feature-change-default-docker-registry-in-operator-command-line-flags/210801 "2019-12-06T02:06:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![LoadingZhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loadingzhang/32/22391_2.png) [@LoadingZhang](https://discuss.elastic.co/u/LoadingZhang)\
**Post date:** [December 6, 2019, 2:06am UTC](https://discuss.elastic.co/t/feature-change-default-docker-registry-in-operator-command-line-flags/210801/1 "2019-12-06T02:06:20Z")

</div>

I can not download docker images from `docker.elastic.co` in private network eviroment.  
So if we could set operator command line flags such as: `--default-registry=xxx.xxx.xxx`, it would be more convenience to use eck where network can not access internet.

---

<div class="post-metadata">

**Author:** ![sebgl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sebgl/32/48702_2.png) [@sebgl](https://discuss.elastic.co/u/sebgl)\
**Post date:** [December 6, 2019, 8:57am UTC](https://discuss.elastic.co/t/feature-change-default-docker-registry-in-operator-command-line-flags/210801/2 "2019-12-06T08:57:55Z")

</div>

Sounds like a good feature request. Would you mind creating an issue on [https://github.com/elastic/cloud-on-k8s](https://github.com/elastic/cloud-on-k8s)?

The workaround so far is to specify the `image` field in your Elasticsearch, Kibana, APMServer yaml manifest. [This doc explains how to create and use your own image](https://www.elastic.co/guide/en/cloud-on-k8s/current/k8s-custom-images.html).

---

<div class="post-metadata">

**Author:** ![LoadingZhang](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/loadingzhang/32/22391_2.png) [@LoadingZhang](https://discuss.elastic.co/u/LoadingZhang)\
**Post date:** [December 6, 2019, 10:32am UTC](https://discuss.elastic.co/t/feature-change-default-docker-registry-in-operator-command-line-flags/210801/3 "2019-12-06T10:32:41Z")

</div>

Issue have submitted.  
I knew docker image can be specified, but sometimes would get confused when using `image` with `version` field, so if we can specify registry, the yaml config would be more concise.

---

<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:** [November 4, 2022, 7:36am UTC](https://discuss.elastic.co/t/feature-change-default-docker-registry-in-operator-command-line-flags/210801/4 "2022-11-04T07:36:19Z")

</div>


