# Change default Docker registry

**URL:** <https://forums.docker.com/t/change-default-docker-registry/93409>\
**Category:** General\
**Tags:** dockerhub, docker, insecure-registry\
**Created:** [May 1, 2020, 4:46pm UTC](https://forums.docker.com/t/change-default-docker-registry/93409 "2020-05-01T16:46:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxlavr](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@maxlavr](https://forums.docker.com/u/maxlavr)\
**Post date:** [May 1, 2020, 4:46pm UTC](https://forums.docker.com/t/change-default-docker-registry/93409/1 "2020-05-01T16:46:16Z")

</div>

I’**m just started to use docker(last version) and have some questions for configure docker registries.**

1. First of all, I haven’t understand how to change `docker registry` from default docker-hub to mine `custom`?  
I get tired to put docker registry before image name to pull it. If I can change default docker registry the problem will fix.

2. In oldest version of docker was flag `--add-registry` for `centos` which can help me but it have deprecated now and docker don’t support it.  
I didn’t use this flag and this information from google. So maybe I can wrong about it

Can anybody help me?  
ps. apologize for bad English)

---

<div class="post-metadata">

**Author:** ![maxlavr](https://avatars.discourse-cdn.com/v4/letter/m/7cd45c/32.png) [@maxlavr](https://forums.docker.com/u/maxlavr)\
**Post date:** [May 7, 2020, 3:57pm UTC](https://forums.docker.com/t/change-default-docker-registry/93409/2 "2020-05-07T15:57:11Z")

</div>

This function is not supported

> <https://github.com/moby/moby/issues/33069>
>
> Is there any way to set default registry as my private registry instead of docker.io ?
> Actually my need is --\>
> I am...
