Skip to content

ERROR: failed to register layer downloading images after 17.12 upgrade #2388

@hallatech

Description

@hallatech

Expected behavior

After installing new version and resetting all data to take advantage of RAW mode in APFS:
Run docker-compose up
Download missing images as before

Actual behavior

Run docker-compose up
On downloading images as part of extraction of one of the layers encounters unexpected EOF:
Tried running docker pull but most failed with the same issue as an example below:

5881d531c681: Pull complete
03c1eba1045d: Pull complete
3542ea36e713: Pull complete
a967fabdedb2: Pull complete
d8f89e6fbd56: Extracting [==================================================>] 720.5MB/720.5MB
fc04d82d0e99: Download complete
e18dcb4676b0: Download complete
ERROR: failed to register layer: Error processing tar file(exit status 1): unexpected EOF

Information

  • Full output of the diagnostics from "Diagnose & Feedback" in the menu
    Docker for Mac: version: 17.12.0-ce-mac46 (a61e84b8bca06b1ae6ce058cdd7beab1520ad622)
    macOS: version 10.13.2 (build: 17C88)
    logs: /tmp/819DE67F-0530-44AE-9FD5-DBF341164A00/20180110-143331.tar.gz
    failure: No Docker.qcow2 or Docker.raw found: the VM has never been started
    [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] kubernetes
    [OK] env
    [OK] virtualization kern.hv_support
    [OK] slirp
    [OK] osxfs
    [OK] moby-console
    [OK] logs
    [OK] docker-cli
    [OK] menubar
    [ERROR] disk
    No Docker.qcow2 or Docker.raw found: the VM has never been started

  • A reproducible case if this is a bug, Dockerfiles FTW

  • Page URL if this is a docs issue or the name of a man page

Steps to reproduce the behavior

  1. Upgraded Docker to latest version Version 17.12.0-ce-mac46 (21698). Yesterday was on previous latest version.
  2. Docker -> Reset -> Remove All Data
  3. Run docker-compose up
    also tried: docker pull

One or 2 smaller images worked and one worked after numerous retries but most failed consistently to extract.
Looking in ~/Library/Containers/com.docker.docker/Data/ there is no longer a .dcow2 file and there is no .raw either.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions