skopeo icon indicating copy to clipboard operation
skopeo copied to clipboard

`skopeo copy` fails copying from a tarball to Docker daemon when using Docker 26.1.3

Open phlax opened this issue 1 year ago • 2 comments

Our (Envoy proxy) CI uploads some images from a tarball created by other CI

This worked as expected with Docker version 24.0.9.

Recently Github updated its runner images. The newer images use Docker 26.1.3

Since this change our CI reliably fails with:

Copy oci image: oci-archive:/tmp/tmp.TebmJdN0Xs/envoy.tar docker-daemon:envoyproxy/envoy:dev
time="2024-06-22T22:47:03Z" level=fatal msg="writing blob: io: read/write on closed pipe"

I have tried to repro the issue locally using the same Docker version/s but it works as expected.

I suspect this is a similar issue to https://github.com/containers/skopeo/issues/1627 where a source resource is producing data too slowly for the daemon

Not sure if this is a skopeo issue as such, but we are hitting it while trying to load using skopeo so reporting here

Any workarounds would be greatly appreciated, I would also be happy to debug further if this is helpful

phlax avatar Jun 23 '24 12:06 phlax