werf icon indicating copy to clipboard operation
werf copied to clipboard

Build Fails with Docker Desktop Containerd support enabled

Open joelhess opened this issue 2 years ago • 2 comments

Before proceeding

  • [X] I didn't find a similar issue

Version

1.2.204

How to reproduce

Mac OS 13.2.1 Macbook Pro M1 Docker Desktop 4.17.0 Docker Engine: 20.10.23

Enable the beta feature to use containerd for images: image

Run Werf build

Result

Error: phase build on image relay stage dockerfile handler failed: failed to build image for stage dockerfile with digest 17a670d31fca6b4e845be254fc87115036f7d5230f0d0ad3d267cb99: error building dockerfile with local-docker-server: Status: failed to read downloaded context: failed to load cache key: invalid response status 403, Code: 1

Expected result

Image Built successfully

Additional information

A typical Docker build docker build . works fine.

joelhess avatar Mar 03 '23 16:03 joelhess

@joelhess Sorry for the delay, and thank you for the feedback. The containerd image store feature is experimental, and Docker SDK does not work correctly in many cases. We are waiting for the stabilization of it.

alexey-igrychev avatar Jul 24 '23 12:07 alexey-igrychev

We are waiting for the stabilization of it.

Just a small update: as of today, not much has changed since "The containerd image store is an experimental feature of Docker Engine," according to the documentation.

shurup avatar Apr 10 '24 10:04 shurup