# Docker pull timeout

**URL:** <https://forums.docker.com/t/docker-pull-timeout/15015>\
**Category:** Docker Desktop\
**Tags:** docker, beta\
**Created:** [June 9, 2016, 3:27am UTC](https://forums.docker.com/t/docker-pull-timeout/15015 "2016-06-09T03:27:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![buzzalderaan](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/buzzalderaan/32/11158_2.png) [@buzzalderaan](https://forums.docker.com/u/buzzalderaan)\
**Post date:** [June 9, 2016, 3:27am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/1 "2016-06-09T03:27:04Z")

</div>

### Expected behavior

Pull a docker container.

### Actual behavior

Successfully pull a docker container. This works without issue on installations on other Mac OX machines.

e.g.  
docker pull memcached  
Using default tag: latest  
Pulling repository [Docker Hub Container Image Library | App Containerization](http://docker.io/library/memcached)  
Network timed out while trying to connect to [https://index.docker.io/v1/repositories/library/memcached/images](https://index.docker.io/v1/repositories/library/memcached/images). You may want to check your internet connection or if you are behind a proxy.

### Information

pinata diagnose -u  
OS X: version 10.11.5 (build: 15F34)  
Docker.app: version: v1.11.1-beta14.5.m  
Running diagnostic tests:  
[OK] docker-cli  
[OK] Moby booted  
[OK] driver.amd64-linux  
[OK] vmnetd  
[OK] osxfs  
[OK] db  
[OK] slirp  
[OK] menubar  
[OK] environment  
[OK] Docker  
[OK] VT-x  
Docker logs are being collected into /tmp/20160608-202004.tar.gz  
Most specific failure is: No error was detected  
Your unique id is: 90603EDD-424C-453A-BAC8-CDE597236C6B

I have also attempted to fully remove any previous Docker install before upgrading to Docker for Mac beta. As stated above, I have been successfully using Docker for Mac Beta (latest version) on other Mac OS X 10.11.5 machines without issue. The only difference being the machine it isn’t working on is older, but ran Docker without issue.

### Steps to reproduce the behavior

1. install/reinstall/reset factory settings Docker for Mac Beta
2. attempt to pull an image

---

<div class="post-metadata">

**Author:** ![maksim77](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/maksim77/32/4968_2.png) [@maksim77](https://forums.docker.com/u/maksim77)\
**Post date:** [June 9, 2016, 10:38am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/2 "2016-06-09T10:38:21Z")

</div>

+1  
i have the same problem

996B65DB-7938-4640-B634-5AFCE620E973

---

<div class="post-metadata">

**Author:** ![olivierpt](https://avatars.discourse-cdn.com/v4/letter/o/ed655f/32.png) [@olivierpt](https://forums.docker.com/u/olivierpt)\
**Post date:** [June 21, 2016, 9:57pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/3 "2016-06-21T21:57:23Z")

</div>

I have the same issue and it not solved with the latest version. I did a factory reset without any result… a uninstall and reinstall without any result neither.

Did you someone solved the problem?

Here my docker info:

Containers: 0  
Running: 0  
Paused: 0  
Stopped: 0  
Images: 0  
Server Version: 1.12.0-rc2  
Storage Driver: aufs  
Root Dir: /var/lib/docker/aufs  
Backing Filesystem: extfs  
Dirs: 0  
Dirperm1 Supported: true  
Logging Driver: json-file  
Cgroup Driver: cgroupfs  
Plugins:  
Volume: local  
Network: overlay bridge null host  
Swarm: inactive  
Runtimes: default  
Default Runtime: default  
Security Options: seccomp  
Kernel Version: 4.4.13-moby  
Operating System: Alpine Linux v3.4  
OSType: linux  
Architecture: x86\_64  
CPUs: 2  
Total Memory: 1.954 GiB  
Name: moby  
ID: AGCX:KZMJ:XXU3:6HGF:RPRX:3ZNN:OTUT:MDVJ:F7MD:N3WY:VWGX:3MSQ  
Docker Root Dir: /var/lib/docker  
Debug Mode (client): false  
Debug Mode (server): true  
File Descriptors: 21  
Goroutines: 28  
System Time: 2016-06-21T21:51:03.175517554Z  
EventsListeners: 1  
No Proxy: \*.local, 169.254/16  
Registry: [https://index.docker.io/v1/](https://index.docker.io/v1/)  
Experimental: true  
Insecure Registries:  
127.0.0.0/8

---

<div class="post-metadata">

**Author:** ![banesto](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/banesto/32/10592_2.png) [@banesto](https://forums.docker.com/u/banesto)\
**Post date:** [June 25, 2016, 5:55am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/4 "2016-06-25T05:55:49Z")

</div>

I have the same issue on Mac 10.11.4 and Docker version 1.12.0-rc2, build 906eacd, experimental.  
The weird thing is that it’s working fine when connected to my company’s VPN network.

---

<div class="post-metadata">

**Author:** ![buzzalderaan](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/buzzalderaan/32/11158_2.png) [@buzzalderaan](https://forums.docker.com/u/buzzalderaan)\
**Post date:** [June 25, 2016, 7:09pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/5 "2016-06-25T19:09:43Z")

</div>

I just updated to Docker for Mac Version 1.12.0-rc2-beta16 (build: 9493) and I am now able to successfully pull images to my heart’s content.

---

<div class="post-metadata">

**Author:** ![banesto](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/banesto/32/10592_2.png) [@banesto](https://forums.docker.com/u/banesto)\
**Post date:** [June 25, 2016, 7:15pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/6 "2016-06-25T19:15:56Z")

</div>

I still have the same version and problem still persists ☹

---

<div class="post-metadata">

**Author:** ![scflode](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/scflode/32/11794_2.png) [@scflode](https://forums.docker.com/u/scflode)\
**Post date:** [June 26, 2016, 6:29pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/7 "2016-06-26T18:29:08Z")

</div>

I also have this issue with 1.12.0-rc2-beta16 (build: 9493) on a Mac Mini late 2012. Just installed Docker for Mac today. On all other Macs it works without issue.

---

<div class="post-metadata">

**Author:** ![vkat](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/vkat/32/11833_2.png) [@vkat](https://forums.docker.com/u/vkat)\
**Post date:** [June 27, 2016, 8:08pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/8 "2016-06-27T20:08:25Z")

</div>

What @banesto said, works when I connect to my company’s VPN.

---

<div class="post-metadata">

**Author:** ![njbarrett](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/njbarrett/32/11845_2.png) [@njbarrett](https://forums.docker.com/u/njbarrett)\
**Post date:** [June 28, 2016, 2:21am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/9 "2016-06-28T02:21:34Z")

</div>

I have the same issue:  
`$ docker run hello-world Unable to find image 'hello-world:latest' locally Pulling repository docker.io/library/hello-world docker: Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/hello-world/images. You may want to check your internet connection or if you are behind a proxy.. See 'docker run --help'.`

Diagnostics:  
Docker for Mac: version: mac-v1.12.0-beta16.2  
OS X: version 10.11.4 (build: 15E65)  
logs: /tmp/20160628-102126.tar.gz  
failure: No error was detected  
[OK] docker-cli  
[OK] app  
[OK] menubar  
[OK] virtualization  
[OK] system  
[OK] osxfs  
[OK] db  
[OK] slirp  
[OK] moby-console  
[OK] logs  
[OK] vmnetd  
[OK] env  
[OK] moby  
[OK] driver.amd64-linux

---

<div class="post-metadata">

**Author:** ![villuppi](https://avatars.discourse-cdn.com/v4/letter/v/f04885/32.png) [@villuppi](https://forums.docker.com/u/villuppi)\
**Post date:** [June 28, 2016, 6:32am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/10 "2016-06-28T06:32:21Z")

</div>

I had this same issue with beta. It seems that when you have corporate dns first on your osx dns list that docker only uses it. If your first dns server isn’t reachable and fails Docker doesn’t trye next name server in list. This is odd because all other apps on osx works greate! Docker’s vms dns points directly to host ip but something after that goes wrong.

Related to:

> [@Docker pull not using correct DNS server when private registry on VPN](https://forums.docker.com/t/docker-pull-not-using-correct-dns-server-when-private-registry-on-vpn/11117/14):
>
> I am facing the same problem with Version 1.11.1-beta14 (build: 8670). When I hop on VPN i get this ➜ ~ docker pull redis Using default tag: latest Pulling repository docker.io/library/redis Network timed out while trying to connect to https://index.docker.io/v1/repositories/library/redis/images. You may want to check your internet connection or if you are behind a proxy.

---

<div class="post-metadata">

**Author:** ![banesto](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/banesto/32/10592_2.png) [@banesto](https://forums.docker.com/u/banesto)\
**Post date:** [June 28, 2016, 11:23am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/11 "2016-06-28T11:23:47Z")

</div>

That could be the case, but I tried the same Docker verions on another computer which do not have VPN installed and it still had the same error, I ended up installing company VPN in order to get it working. ☹

---

<div class="post-metadata">

**Author:** ![scflode](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/scflode/32/11794_2.png) [@scflode](https://forums.docker.com/u/scflode)\
**Post date:** [June 29, 2016, 8:56am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/12 "2016-06-29T08:56:32Z")

</div>

That solved my issue as the primary DNS was not reachable at that time. Thanks for the hint!

---

<div class="post-metadata">

**Author:** ![wilcobou](https://avatars.discourse-cdn.com/v4/letter/w/90ced4/32.png) [@wilcobou](https://forums.docker.com/u/wilcobou)\
**Post date:** [July 12, 2016, 5:55am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/13 "2016-07-12T05:55:40Z")

</div>

Solved my issue too, seems that my IPv6 DNS server wasn’t reachable, changing the order in the network settings made the problem go away.

---

<div class="post-metadata">

**Author:** ![xavijs](https://avatars.discourse-cdn.com/v4/letter/x/db5fbb/32.png) [@xavijs](https://forums.docker.com/u/xavijs)\
**Post date:** [July 14, 2016, 10:48pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/14 "2016-07-14T22:48:12Z")

</div>

You saved my docker! 🙂

---

<div class="post-metadata">

**Author:** ![ldcasillas](https://avatars.discourse-cdn.com/v4/letter/l/c2a13f/32.png) [@ldcasillas](https://forums.docker.com/u/ldcasillas)\
**Post date:** [July 15, 2016, 11:51pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/15 "2016-07-15T23:51:12Z")

</div>

I just experienced this problem and, following an idea in [this comment from another thread](https://forums.docker.com/t/docker-pull-not-using-correct-dns-server-when-private-registry-on-vpn/11117/9), I worked around the timeout issues by disconnecting my ethernet cable and using only the WiFi. (Unlike the commenter in that thread, both interfaces were on when I was having trouble.)

---

<div class="post-metadata">

**Author:** ![mayerwin](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/mayerwin/32/12559_2.png) [@mayerwin](https://forums.docker.com/u/mayerwin)\
**Post date:** [July 23, 2016, 8:29am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/16 "2016-07-23T08:29:17Z")

</div>

Still same issue with the latest version on Windows…

---

<div class="post-metadata">

**Author:** ![mayerwin](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/mayerwin/32/12559_2.png) [@mayerwin](https://forums.docker.com/u/mayerwin)\
**Post date:** [July 23, 2016, 9:41am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/17 "2016-07-23T09:41:01Z")

</div>

**Update** : Got it working with pure default Docker configuration (no manual DNS set to 8.8.8.8, no IP V6 deactivation), by **removing Unlocator-related settings from the router** (its specific DNS server, and maybe more problematic, static routes that redirected 8.8.8.8 and 8.8.4.4 to the router itself as recommended to get Chromecast working)! I had to reboot the router afterwards and disable/re-enable local network adapters. Strange that Docker is the only application which encountered issues because of this set-up.

---

<div class="post-metadata">

**Author:** ![jhampson](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/jhampson/32/12892_2.png) [@jhampson](https://forums.docker.com/u/jhampson)\
**Post date:** [August 1, 2016, 12:46pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/18 "2016-08-01T12:46:00Z")

</div>

I am experiencing the same problem posted a thread related to it [here](https://forums.docker.com/t/docker-pull-error-response-from-daemon-i-o-timeout/19248)

---

<div class="post-metadata">

**Author:** ![banesto](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/banesto/32/10592_2.png) [@banesto](https://forums.docker.com/u/banesto)\
**Post date:** [August 2, 2016, 8:26am UTC](https://forums.docker.com/t/docker-pull-timeout/15015/19 "2016-08-02T08:26:39Z")

</div>

This issue is resolved for Mac in [Release 1.12.0-rc4-beta20](https://docs.docker.com/docker-for-mac/release-notes/#/beta-20-release-notes-2016-07-19-1-12-0-rc4-beta20)! Thanks guys!

---

<div class="post-metadata">

**Author:** ![wunch](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/wunch/32/12819_2.png) [@wunch](https://forums.docker.com/u/wunch)\
**Post date:** [August 3, 2016, 5:02pm UTC](https://forums.docker.com/t/docker-pull-timeout/15015/20 "2016-08-03T17:02:08Z")

</div>

I did some testing, and I wouldn’t really call this completely fixed. Yes, docker will now check the secondary DNS server in the list if the first one does not respond, but it does not seem to continue any further than that, which is an incomplete solution IMO.

For me, my non-work DNS was fourth in the list. Docker (beta21) continued to network time out unless I dragged that server to be either first or second in the list.

[Next page](https://forums.docker.com/t/docker-pull-timeout/15015.md?page=2)
