{"action":"closed","issue":{"url":"https://api.github.com/repos/docker/docker/issues/15951","labels_url":"https://api.github.com/repos/docker/docker/issues/15951/labels{/name}","comments_url":"https://api.github.com/repos/docker/docker/issues/15951/comments","events_url":"https://api.github.com/repos/docker/docker/issues/15951/events","html_url":"https://github.com/docker/docker/issues/15951","id":104070059,"number":15951,"title":"docker freezes/blocks after interrupting a pulling","user":{"login":"aanm","id":5714066,"avatar_url":"https://avatars.githubusercontent.com/u/5714066?v=3","gravatar_id":"","url":"https://api.github.com/users/aanm","html_url":"https://github.com/aanm","followers_url":"https://api.github.com/users/aanm/followers","following_url":"https://api.github.com/users/aanm/following{/other_user}","gists_url":"https://api.github.com/users/aanm/gists{/gist_id}","starred_url":"https://api.github.com/users/aanm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aanm/subscriptions","organizations_url":"https://api.github.com/users/aanm/orgs","repos_url":"https://api.github.com/users/aanm/repos","events_url":"https://api.github.com/users/aanm/events{/privacy}","received_events_url":"https://api.github.com/users/aanm/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-31T14:57:20Z","updated_at":"2015-08-31T14:58:51Z","closed_at":"2015-08-31T14:58:51Z","body":"Docker server seems to block on the 2nd and consequential tries if I interrupt a pull with a CTRL+C at the first time.\r\n\r\nExample:\r\n```\r\n$ docker pull redis:latest\r\nlatest: Pulling from library/redis\r\n9d3ceacde91b: Downloading [========================>                          ] 18.09 MB/37.21 MB\r\nbbe78c1a5a53: Download complete \r\n9bce9474876b: Download complete \r\n047a294381b2: Downloading [===========================>                       ] 3.276 MB/5.944 MB\r\n2658b5be63c6: Download complete \r\n7bf6d72c51dd: Download complete \r\n6d6a6cf52058: Download complete \r\naa2530999d9d: Download complete \r\ne1826fa7683c: Download complete \r\n6f363001266d: Download complete \r\n836d921b3cd8: Download complete \r\n2a7c655ad485: Download complete \r\n24968be6ba8d: Download complete \r\n61ccddfbf92f: Download complete \r\ne352ded77489: Download complete \r\n43d77a7c6a43: Download complete \r\n9216d5a4eec8: Download complete \r\n^C\r\n[aanm@localhost ~]$ docker pull redis:latest\r\n\r\n# It doesn't show anything after this even if I wait a couple minutes\r\n# So I have to restart the service\r\n\r\n^C\r\n[aanm@localhost docker-intent]$ sudo service docker restart\r\nRestarting docker (via systemctl):                         [  OK  ]\r\n[aanm@localhost ~]$ docker pull redis:latest   \r\nlatest: Pulling from library/redis\r\n9d3ceacde91b: Pull complete \r\nbbe78c1a5a53: Verifying Checksum \r\n9bce9474876b: Download complete \r\n047a294381b2: Download complete \r\n2658b5be63c6: Download complete \r\n7bf6d72c51dd: Download complete \r\n6d6a6cf52058: Verifying Checksum \r\naa2530999d9d: Download complete \r\ne1826fa7683c: Verifying Checksum \r\n6f363001266d: Download complete \r\n836d921b3cd8: Download complete \r\n2a7c655ad485: Verifying Checksum \r\n24968be6ba8d: Download complete \r\n61ccddfbf92f: Download complete \r\ne352ded77489: Verifying Checksum \r\n43d77a7c6a43: Verifying Checksum \r\n9216d5a4eec8: Verifying Checksum \r\n9216d5a4eec8: Layer already being pulled by another client. Waiting. \r\n\r\n# Downloaded some stuff but has blocked again so I have to restart the\r\n# service one more time.\r\n\r\n^C\r\n[aanm@localhost ~]$ sudo service docker restart\r\nRestarting docker (via systemctl):                         [  OK  ]\r\n[aanm@localhost ~]$ docker pull redis:latest\r\nlatest: Pulling from library/redis\r\nbbe78c1a5a53: Pull complete \r\n9bce9474876b: Pull complete \r\n047a294381b2: Pull complete \r\n2658b5be63c6: Pull complete \r\n7bf6d72c51dd: Pull complete \r\n6d6a6cf52058: Pull complete \r\naa2530999d9d: Pull complete \r\ne1826fa7683c: Pull complete \r\n6f363001266d: Pull complete \r\n836d921b3cd8: Pull complete \r\n2a7c655ad485: Pull complete \r\n24968be6ba8d: Pull complete \r\n61ccddfbf92f: Pull complete \r\ne352ded77489: Pull complete \r\n43d77a7c6a43: Pull complete \r\n9216d5a4eec8: Already exists \r\n9d3ceacde91b: Already exists \r\nlibrary/redis:latest: The image you are pulling has been verified. Important: image verification is a tech preview feature and should not be relied on to provide security.\r\nDigest: sha256:ab962e0e648f99bd328dcca1ef0bef2da2f896fa7404d963a90a1308ef6235cc\r\nStatus: Downloaded newer image for redis:latest\r\n```\r\nThat behavior seems to affect only the current repository that was first interrupt, if I try to run `docker pull hello-world` it happens without any error and without me having to restart the service.\r\n\r\n```\r\n[aanm@localhost ~]$ docker version \r\nClient:\r\n Version:      1.8.1\r\n API version:  1.20\r\n Go version:   go1.4.2\r\n Git commit:   d12ea79\r\n Built:        Thu Aug 13 02:39:27 UTC 2015\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.8.1\r\n API version:  1.20\r\n Go version:   go1.4.2\r\n Git commit:   d12ea79\r\n Built:        Thu Aug 13 02:39:27 UTC 2015\r\n OS/Arch:      linux/amd64\r\n[aanm@localhost ~]$ docker info\r\nContainers: 0\r\nImages: 217\r\nStorage Driver: overlay\r\n Backing Filesystem: extfs\r\nExecution Driver: native-0.2\r\nLogging Driver: json-file\r\nKernel Version: 4.1.6-200.fc22.x86_64\r\nOperating System: Fedora 22 (Twenty Two)\r\nCPUs: 8\r\nTotal Memory: 15.46 GiB\r\nName: localhost.localdomain\r\nID: UTTO:O2B2:3TZB:7YSQ:VWV5:C5WN:PSYJ:PMCZ:R5O3:N7QU:3G2M:DKVA\r\nUsername: aanm\r\nRegistry: https://index.docker.io/v1/\r\n```"}}