<p>It depends on several factors.</p>

<p>If your images can be public or must be private. If you can make a public image, docker hub could work.</p>

<p>With ECR you will have a fine grain control of your permissions, integrated with IAM</p>

<p>On the other hand, ECR it's only available on one region so if you pull an image from a different region you will be charged for that traffic and the latency could be a problem so if you need a multi-region registry yo should implement that mechanism by yourself.</p>

<p>In brief, I wouldn't use public registry for production applications. You'll have more control with a private registry like ECR or other 3rd party solutions.</p>

CC BY-SA 3.0
2017-08-25T07:55:06.153Z
2017-08-25T07:55:06.153Z
RuBiCK
<p>We are using AWS <strong>EC2 container services</strong> and we are using Amazon container registry but the problem with container registry is that it's only available in one region although it's have URI but is <strong>docker hub repository</strong> is good to go with EC2 container services or using Amazon ECR.
Thanks</p>

CC BY-SA 3.0
2017-08-25T07:44:12.963Z
What is the question?
RuBiCK
CC BY-SA 3.0
2017-08-25T07:46:07.813Z
Question is docker hub is will good solution or Amazon ecr so can use one repo in testing and production in different region and different environment with tags
Adiii
<docker><amazon-web-services><amazon-ecs>
Docker image registries
Adiii
# Docker image registries

(Asked by: username_0 on 2017-08-25)

We are using AWS **EC2 container services** and we are using Amazon container registry but the problem with container registry is that it's only available in one region although it's have URI but is **docker hub repository** is good to go with EC2 container services or using Amazon ECR.
Thanks

**Tags:** docker, amazon-web-services, amazon-ecs

> **Comments:**
> **username_1**: What is the question?  
> **username_0**: Question is docker hub is will good solution or Amazon ecr so can use one repo in testing and production in different region and different environment with tags  

---

## 1 answers

### Answer by username_1 on 2017-08-25. Score: 3 | Accepted answer

It depends on several factors.

If your images can be public or must be private. If you can make a public image, docker hub could work.

With ECR you will have a fine grain control of your permissions, integrated with IAM

On the other hand, ECR it's only available on one region so if you pull an image from a different region you will be charged for that traffic and the latency could be a problem so if you need a multi-region registry yo should implement that mechanism by yourself.

In brief, I wouldn't use public registry for production applications. You'll have more control with a private registry like ECR or other 3rd party solutions.


---

