Skip to content

archive: diff tar incompatibility with Docker #2094

@dmcgowan

Description

@dmcgowan

With an image produced by buildkit using the following command

FROM golang:1.9.3-alpine3.7
RUN apk add --no-cache --virtual .builddeps automake
RUN apk del .builddeps

The resulting image fails to be loaded into the overlay2 graph drivers (works with naive based drivers).

 => => sending tarball                                                                               0.6s
e47cbb1a9ca3: Loading layer  9.061MB/9.061MB
8ecf1a4702b2: Loading layer   13.1kB/13.1kB
Error processing tar file(exit status 1): not a directory

The archive result should be compatible for load into existing docker graph drivers.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions