Open LaXiS96 opened 6 months ago
Can anybody check this out? As you can see from the linked compose issue, this problem is also affecting people on Docker Desktop. We are stuck on compose 2.20.0 since all versions after that one vendor a buildx version which does not work at all on Windows.
Hello, is anybody there? What even is the point of opening issues if maintainers don't care about them? I'd be happy to help diagnose the issue and get it resolved...
Problem persists with v0.17.1 as vendored in compose v2.29.7 with the same exact behavior...
To add another data point: I created a new Debian 12 virtual machine and installed the latest Docker Engine v27.3.0. Then I updated the Windows Docker CLI to v27.3.0 and Compose to v2.29.7. The behavior is again exactly the same, so the issue is not limited to Docker Engine v20.10.
Contributing guidelines
I've found a bug and checked that ...
Description
I originally reported this issue in the compose repository: https://github.com/docker/compose/issues/11165
Either building via compose or with
docker buildx build .
hangs for a while and then exits with an error.I can successfully build images with 0.11.2, while all versions since 0.12.0 including the latest one fail.
The environment is:
DOCKER_HOST=ssh://root@10.42.64.1
where 10.42.64.1 is the virtual machineDOCKER_BUILDKIT=1
The issue could be related to SSH authentication, since even plain
docker
commands take a while to do anything for no apparent reason, and I've been noticing this since switching from certificate authentication.Expected behaviour
Running
docker buildx build .
and the image being builtActual behaviour
docker buildx build .
hangs for about 3 minutes (consistent timing every time) and returns this error:Buildx version
github.com/docker/buildx v0.13.1 788433953af10f2a698f5c07611dddce2e08c7a0
Docker info
Builders list
Configuration
Not relevant
Build logs
No response
Additional info
No response