{"action":"created","issue":{"url":"https://api.github.com/repos/docker/for-mac/issues/2388","repository_url":"https://api.github.com/repos/docker/for-mac","labels_url":"https://api.github.com/repos/docker/for-mac/issues/2388/labels{/name}","comments_url":"https://api.github.com/repos/docker/for-mac/issues/2388/comments","events_url":"https://api.github.com/repos/docker/for-mac/issues/2388/events","html_url":"https://github.com/docker/for-mac/issues/2388","id":287321738,"number":2388,"title":"ERROR: failed to register layer downloading images after 17.12 upgrade","user":{"login":"hallatech","id":3382180,"avatar_url":"https://avatars1.githubusercontent.com/u/3382180?v=4","gravatar_id":"","url":"https://api.github.com/users/hallatech","html_url":"https://github.com/hallatech","followers_url":"https://api.github.com/users/hallatech/followers","following_url":"https://api.github.com/users/hallatech/following{/other_user}","gists_url":"https://api.github.com/users/hallatech/gists{/gist_id}","starred_url":"https://api.github.com/users/hallatech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallatech/subscriptions","organizations_url":"https://api.github.com/users/hallatech/orgs","repos_url":"https://api.github.com/users/hallatech/repos","events_url":"https://api.github.com/users/hallatech/events{/privacy}","received_events_url":"https://api.github.com/users/hallatech/received_events","type":"User","site_admin":false},"labels":[{"id":438330583,"url":"https://api.github.com/repos/docker/for-mac/labels/status/0-triage","name":"status/0-triage","color":"bfd4f2","default":false},{"id":803265658,"url":"https://api.github.com/repos/docker/for-mac/labels/version/17.12.0-ce-mac46","name":"version/17.12.0-ce-mac46","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2018-01-10T05:48:12Z","updated_at":"2018-02-28T03:23:25Z","closed_at":null,"author_association":"NONE","body":"### Expected behavior\r\nAfter installing new version and resetting all data to take advantage of RAW mode in APFS:\r\nRun docker-compose up\r\nDownload missing images as before\r\n\r\n### Actual behavior\r\nRun docker-compose up\r\nOn downloading images as part of extraction of one of the layers encounters unexpected EOF: \r\nTried running docker pull <image> but most failed with the same issue as an example below:\r\n\r\n5881d531c681: Pull complete \r\n03c1eba1045d: Pull complete \r\n3542ea36e713: Pull complete \r\na967fabdedb2: Pull complete \r\nd8f89e6fbd56: Extracting [==================================================>]  720.5MB/720.5MB \r\nfc04d82d0e99: Download complete \r\ne18dcb4676b0: Download complete \r\nERROR: failed to register layer: Error processing tar file(exit status 1): unexpected EOF\r\n\r\n### Information\r\n\r\n  - Full output of the diagnostics from \"Diagnose & Feedback\" in the menu\r\nDocker for Mac: version: 17.12.0-ce-mac46 (a61e84b8bca06b1ae6ce058cdd7beab1520ad622)\r\nmacOS: version 10.13.2 (build: 17C88)\r\nlogs: /tmp/819DE67F-0530-44AE-9FD5-DBF341164A00/20180110-143331.tar.gz\r\nfailure: No Docker.qcow2 or Docker.raw found: the VM has never been started\r\n[OK]     db.git\r\n[OK]     vmnetd\r\n[OK]     dns\r\n[OK]     driver.amd64-linux\r\n[OK]     virtualization VT-X\r\n[OK]     app\r\n[OK]     moby\r\n[OK]     system\r\n[OK]     moby-syslog\r\n[OK]     kubernetes\r\n[OK]     env\r\n[OK]     virtualization kern.hv_support\r\n[OK]     slirp\r\n[OK]     osxfs\r\n[OK]     moby-console\r\n[OK]     logs\r\n[OK]     docker-cli\r\n[OK]     menubar\r\n[ERROR]  disk\r\n         No Docker.qcow2 or Docker.raw found: the VM has never been started\r\n\r\n  - A reproducible case if this is a bug, Dockerfiles FTW\r\n  - Page URL if this is a docs issue or the name of a man page\r\n\r\n### Steps to reproduce the behavior\r\n\r\n  1. Upgraded Docker to latest version Version 17.12.0-ce-mac46 (21698). Yesterday was on previous latest version.\r\n  2. Docker -> Reset -> Remove All Data\r\n  3. Run docker-compose up\r\nalso tried: docker pull <image>\r\n\r\nOne or 2 smaller images worked and one worked after numerous retries but most failed consistently to extract.\r\nLooking in `~/Library/Containers/com.docker.docker/Data/` there is no longer a .dcow2 file and there is no .raw either.\r\n"},"comment":{"url":"https://api.github.com/repos/docker/for-mac/issues/comments/369108797","html_url":"https://github.com/docker/for-mac/issues/2388#issuecomment-369108797","issue_url":"https://api.github.com/repos/docker/for-mac/issues/2388","id":369108797,"user":{"login":"hallatech","id":3382180,"avatar_url":"https://avatars1.githubusercontent.com/u/3382180?v=4","gravatar_id":"","url":"https://api.github.com/users/hallatech","html_url":"https://github.com/hallatech","followers_url":"https://api.github.com/users/hallatech/followers","following_url":"https://api.github.com/users/hallatech/following{/other_user}","gists_url":"https://api.github.com/users/hallatech/gists{/gist_id}","starred_url":"https://api.github.com/users/hallatech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hallatech/subscriptions","organizations_url":"https://api.github.com/users/hallatech/orgs","repos_url":"https://api.github.com/users/hallatech/repos","events_url":"https://api.github.com/users/hallatech/events{/privacy}","received_events_url":"https://api.github.com/users/hallatech/received_events","type":"User","site_admin":false},"created_at":"2018-02-28T03:23:25Z","updated_at":"2018-02-28T03:23:25Z","author_association":"NONE","body":"Latest version 17.12.0-ce-mac55 2018-02-27 now resolves the large file download corruption after factory reset issue by reverting to qcow. So I have upgraded and tried the factory reset so far without issues on the large files. (Obviously this doesn't fix the root cause of switching to raw). Thank you."}}
{"actor":{"display_login":"hallatech"}}