<h3>TLDR</h3>

<p>From cloud instance, just go push to docker hub; you will be routed to the best location automatically.</p>

<h3>Full details</h3>

<p>DockerHub is a massive scale and very critical global service.  So, you almost definitely don't have to think about this at all.</p>

<p>There are techniques on cloud hosts (AWS, Azure, GCP) to replicate &amp; host content/services in regions across the globe and route traffic to the closest entry point automatically.  The cloud hosts make this quite easy to do with their managed services (while without them it would be very difficult).</p>

<p>Also, there are many third party providers of technologies like CDNs which do similar things at scale (and they are really good at it).  They are <strong>extremely</strong> frequently used in these cases.</p>

<p>So, again - just go to docker hub and don't think about it.  You will be routed to the best location automatically.</p>

CC BY-SA 4.0
2020-04-05T04:55:05.270Z
Then why I image push slowlier than my colleages in another country?
Nam G VU
CC BY-SA 4.0
2020-04-05T13:13:57.157Z
If you’re on a cloud host machine (e.g. an EC2), I’d be surprised if you are experiencing that unless it’s a very minor region.  They have crazy fast backplanes for networking.  If you’re on your own computer then it’s almost certainly your internet connection and local network.  There will be *millions* of docker containers running on hosts and in kubernetes in every cloud host region, so it’s got to be fast or people would be escalating pretty quick.
John Humphreys
CC BY-SA 4.0
2020-04-05T18:14:31.100Z
Got what you mean clearly now. Yes it is slow on my local, and pretty fast on cloud machine.
Nam G VU
CC BY-SA 4.0
2020-04-05T02:52:46.443Z
2020-04-21T08:01:40.190Z
2020-04-21T08:01:40.190Z
John Humphreys
<p><strong>TLDR</strong>
How to know what region in the cloud nearest to docker hub?</p>

<p><strong>Full details</strong>
From my localhost my network is super slow to push the docker image onto docker hub. </p>

<p>My workaround is to use a cloud machine to do that <code>docker image push</code> hopefully that the internet there would be faster.</p>

<p>So my question is which region on the cloud is nearest to docker hub for me to choose?</p>

<p><a href="https://stackoverflow.com/q/61029378/248616">My google search</a> results little helpful</p>

<p>p.s. 
I also asked on stackoverflow <a href="https://stackoverflow.com/q/61029378/248616">here</a></p>

<docker><cloud>
Which cloud region could have the fastest time for a docker image push?
Nam G VU
# Which cloud region could have the fastest time for a docker image push?

(Asked by: username_0 on 2020-04-04)

**TLDR**
How to know what region in the cloud nearest to docker hub?

**Full details**
From my localhost my network is super slow to push the docker image onto docker hub.

My workaround is to use a cloud machine to do that `docker image push` hopefully that the internet there would be faster.

So my question is which region on the cloud is nearest to docker hub for me to choose?

[My google search](https://stackoverflow.com/q/61029378/248616) results little helpful

p.s.
I also asked on stackoverflow [here](https://stackoverflow.com/q/61029378/248616)

**Tags:** docker, cloud


---

## 1 answers

### Answer by username_1 on 2020-04-05. Score: 3 | Accepted answer

### TLDR

From cloud instance, just go push to docker hub; you will be routed to the best location automatically.

### Full details

DockerHub is a massive scale and very critical global service. So, you almost definitely don't have to think about this at all.

There are techniques on cloud hosts (AWS, Azure, GCP) to replicate & host content/services in regions across the globe and route traffic to the closest entry point automatically. The cloud hosts make this quite easy to do with their managed services (while without them it would be very difficult).

Also, there are many third party providers of technologies like CDNs which do similar things at scale (and they are really good at it). They are **extremely** frequently used in these cases.

So, again - just go to docker hub and don't think about it. You will be routed to the best location automatically.

> **Comments:**
> **username_0**: Then why I image push slowlier than my colleages in another country?  
> **username_1**: If you’re on a cloud host machine (e.g. an EC2), I’d be surprised if you are experiencing that unless it’s a very minor region.  They have crazy fast backplanes for networking.  If you’re on your own computer then it’s almost certainly your internet connection and local network.  There will be *millions* of docker containers running on hosts and in kubernetes in every cloud host region, so it’s got to be fast or people would be escalating pretty quick.  
> **username_0**: Got what you mean clearly now. Yes it is slow on my local, and pretty fast on cloud machine.  

---

