docker pull hangs downloading image
I tried several times to pull mssql-server-linux but I got always the same result.
$ docker pull microsoft/mssql-server-linux
latest: Pulling from microsoft/mssql-server-linux
aed15891ba52: Already exists
773ae8583d14: Already exists
d1d48771f782: Already exists
cd3d6cd6c0cf: Already exists
8ff6f8a9120c: Already exists
1fd7e8b10447: Already exists
bd485157db89: Already exists
273a1970ce9c: Already exists
c6f0182f94e9: Downloading [=================================================> ] 275.2MB/275.7MB
47c608bf53ae: Waiting
Expected behavior
Finish dowloading of mssql-server-linux image
Actual behavior
It always hang with the same fs file with id c6f0182f94e9
Information
Docker for Mac: version: 17.06.2-ce-mac27 (4cdec4294a50b2233146b09469b49937dabdebdd) macOS: version 10.12.6 (build: 16G29) logs: /tmp/5542512B-8253-4454-9064-2CD6AD31D520/20170922-191740.tar.gz [OK] db.git [OK] vmnetd [OK] dns [OK] driver.amd64-linux [OK] virtualization VT-X [OK] app [OK] moby [OK] system [OK] moby-syslog [OK] db [OK] env [OK] virtualization kern.hv_support [OK] slirp [OK] osxfs [OK] moby-console [OK] logs [OK] docker-cli [OK] menubar [OK] disk
Steps to reproduce the behavior
- Run
docker pull microsoft/mssql-server-linux - Wait
Hi @sebastianperruolo
Let's see if you can remove what's there and pull down a fresh image - try this command
docker image rm -f microsoft/mssql-server-linux
Hi @jasonbivins
I tried that command but I'm afraid that it didn't help:
$ docker image rm -f microsoft/mssql-server-linux
Error response from daemon: No such image: microsoft/mssql-server-linux:latest
$ docker pull microsoft/mssql-server-linux
Using default tag: latest
latest: Pulling from microsoft/mssql-server-linux
aed15891ba52: Already exists
773ae8583d14: Already exists
d1d48771f782: Already exists
cd3d6cd6c0cf: Already exists
8ff6f8a9120c: Already exists
1fd7e8b10447: Already exists
bd485157db89: Already exists
273a1970ce9c: Already exists
c6f0182f94e9: Downloading [=================================================> ] 275.2MB/275.7MB
47c608bf53ae: Waiting
Today I tried again and it was able to finish the download. Although I'm not sure what fixed the issue, I'll close it.
For some reason your issue did not appear at that moment. But I don't think that it means that the issue disappeared because I'm facing it.
I'm facing the issue today.
❯ docker pull jwilder/nginx-proxy
Using default tag: latest
latest: Pulling from jwilder/nginx-proxy
2a72cbf407d6: Already exists
04b2d3302d48: Already exists
e7f619103861: Already exists
668b13d991c2: Downloading [=================> ] 1.24MB/3.468MB
9b4e089f640c: Download complete
b055f74a1218: Downloading [=========================> ] 1.49MB/2.894MB
1f16e62a7a7f: Downloading [========> ] 469.6kB/2.894MB
73a091d7ccc4: Waiting
eb383481e5a9: Waiting
32a4c9e45ee0: Waiting
download progress stops at this step.
@arefaslani @hervinhio I’m reopening the issue
This issue has been tagged over the last several years, as far back as April 2015. Pulling images sometimes gets stuck, #813, June 2017. Pull gets stuck waiting for a layer, #22598, May 2016. Docker can hang indefinitely waiting for a nonexistent process to download the repository, #12823, April, 2015. Docker hangs forever during downloading image layers, Stack Overflow (stackoverflow.com). Docker Compose stuck downloading or pulling fs layer, Stack Overflow (stackoverflow.com). Boot2docker - Docker hangs forever during pulling image layers, Stack Overflow (stackoverflow.com). Docker is stuck on download complete for pull, Stack Overflow (stackoverfow.com) Docker stuck on pull - Docker for Mac - Docker Forums (forums.docker.com) Pulling Docker image is too slow, #1767
Is here any fix for this issue? I still have same problem, I am trying to pull image with command and also with kitematic, but I hangs in both cases..
I'm also having the same issue with microsoft/mssql-server-linux.
I have the same issue with jboss/keycloak
docker pull jboss/keycloak:3.4.0.Final
3.4.0.Final: Pulling from jboss/keycloak
d9aaf4d82f24: Pulling fs layer
bf4286cef918: Pulling fs layer
e2b1b6ac76bc: Pulling fs layer
c1e7cfa5052c: Pulling fs layer
876ea0c706b5: Pulling fs layer
ae0579831d24: Pulling fs layer
9f392ad5c55a: Pulling fs layer
575889a29bd2: Pulling fs layer
3409fa805838: Pulling fs layer
e7d647b3b8d0: Pulling fs layer
5fc349bb2d2f: Pulling fs layer
2456d0c82ac7: Pulling fs layer
dfb9e3c99913: Pulling fs layer
bc55f8d58191: Pulling fs layer
f75f14b54bb8: Pulling fs layer
ae0579831d24: Downloading 89.72MB/194.9MB
876ea0c706b5: Pull complete
and python image:
Alis-MacBook-Pro-3:~ alinaqvi$ docker rmi -f python
Untagged: python:latest
Untagged: python@sha256:73fe3e33aac59ea84cdab902c13ffea175039bf7c84f069488c3716867e0d8c2
Deleted: sha256:825141134528aa58f1c0c6c7ad02e080968847338506c23c14a063ac6645bca5
Deleted: sha256:789d51f48b834efb241926bf1e1f12f56da58a4d1e85d01d2627fae34e913a2d
Deleted: sha256:a117248406ff65c063d5f90cee8adaf18cd569307c238089e3a07d18ce11b3f7
Deleted: sha256:57d953d9c3b0df0e725dcb0fb1f9bb6334adefc69424d144c7deb00ad18d5986
Deleted: sha256:61a82ccbc86451ce50f2ef8e4361d3013844bfee92e6e02326ab2102f7b51839
Deleted: sha256:de896c693ce8da83a59add0b97711d214c3457a8fa3578126a64d3955c38842b
Deleted: sha256:2d9c829ae3f7ff3e148e5c7c3a1cf378b0f90b79035e2fe9a8d78c63ccde4c89
Alis-MacBook-Pro-3:~ alinaqvi$ docker pull python
Using default tag: latest
latest: Pulling from library/python
55cbf04beb70: Already exists
1607093a898c: Already exists
9a8ea045c926: Already exists
d4eee24d4dac: Pull complete
b59856e9f0ab: Downloading [===================> ] 81.6MB/213.2MB
3871f87d5755: Download complete
e450290a1377: Download complete
72d3069ba9a5: Download complete
bed83b902d7b: Download complete
Disk image size allocation is 64GB 2GB memory is allocated 1GB swap and 2CPUs are allocated to the docker vm on mac
What can I do to debug this issue further?
Update: <2018-08-17 Fri 11:59> I have uploaded the diagnostics while pulling the python image. Here is the diagnostic id: E4AABEA0-E6B6-48E7-8422-646FA8B0DA83/20180817154536
Another update, for me it seems to be an ISP specific issue. I was able to verify it by switching to a mobile network and pull the python image without it getting stuck.
Wondering if anyone else can replicate this issue; that by switching to another network, the pull doesn't hang.
I have the same problem. I think that a timeout or some kind of error would be nice instead if hanging like this...
I have recently experienced the same issue from inside a VM. If it helps, I captured using tcpdump and there seems to be endless ACK'ing going on with no data being sent...
12:49:09.945089 IP 10.0.2.15.49554 > 104.18.122.25.https: Flags [.], ack 1, win 53960, length 0
12:49:09.945922 IP 104.18.122.25.https > 10.0.2.15.49554: Flags [.], ack 1, win 65535, length 0
12:49:15.199384 IP 10.0.2.15.49570 > 104.18.122.25.https: Flags [.], ack 1, win 53200, length 0
12:49:15.230575 IP 104.18.122.25.https > 10.0.2.15.49570: Flags [.], ack 1, win 65535, length 0
12:49:40.024831 IP 10.0.2.15.49554 > 104.18.122.25.https: Flags [.], ack 1, win 53960, length 0
12:49:40.025511 IP 104.18.122.25.https > 10.0.2.15.49554: Flags [.], ack 1, win 65535, length 0
Same issue here. A restart of docker daemon is not possible. Only solution is to reboot the node.
Same issue
Same issue. Pulling images from local works but does not work from machines in AWS regions, getting stuck at some layers
For us restarting the mirror registry fixed the issue
same issue here, can't seem to pull the node 10 image.
Restarting docker fixed the issue for me.
i'm having constant problem with it, i can't pull mysql:5.7, tried more than 8 times now