Skip to content

Regression in docker load #18170

@matthughes

Description

@matthughes

I did a docker save of library/centos:6 back in March of 2015. I have been able to successfully docker load that tarball across many versions of Docker.

Starting with at least version 1.9.0, I get the following when trying to run docker load:

› docker load < image.tar
Error response from daemon: EOF

Same error whether I use the other variants of the load command:

> cat image.tar | docker load
> docker load -i image.tar

Here is the history of the base image:

docker history --no-trunc=true library/centos:6-2015.03.20
IMAGE                                                              CREATED             CREATED BY                                                                                         SIZE                COMMENT
f6808a3e4d9e80a655ec625e38b869ed8a614611e4d0073aeff23be841c9fcff   8 months ago        /bin/sh -c #(nop) ADD file:2b2b26209d285cd1a96e8168dfb25338aa09155d0a9a6ed54a94be0bd9914461 in /   215.7 MB
5b12ef8fd57065237a6833039acc0e7f68e363c15d8abb5cacce7143a1f7de8a   13 months ago       /bin/sh -c #(nop) MAINTAINER The CentOS Project <cloud-ops@centos.org> - ami_creator               0 B
511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158   2 years ago                                                                                                            0 B                 Imported from -

Looking at docker.log, it appears to be choking on the MAINTAINER layer:

time="2015-11-23T16:09:33.163005791Z" level=debug msg="Loading 5b12ef8fd57065237a6833039acc0e7f68e363c15d8abb5cacce7143a1f7de8a"
time="2015-11-23T16:09:33.181494348Z" level=error msg="Handler for POST /v1.21/images/load returned error: EOF"
time="2015-11-23T16:09:33.181535527Z" level=error msg="HTTP Error" err=EOF statusCode=500

Every image I've been has ultimately depended on this image and now they are all unloadable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions