Open akutruff opened 1 year ago
Resolved but the issue was the upgrade to buildx. buildx enumerated all contexts on the system and if a host did not have an ssh fingerprint in windows even though it was in WSL, it hung indefinitely and did not time out. You may want to do something about that or kick it over the the buildx team.
Any updates on this?
I have the same problem:
I currently solved the issue by downgrading to v4.18.
A side-note to this, as it is not related to this issue, I see significant performance differences between Hyper-V and WSL. Hyper-V seems to have much faster IO access than WSL (both WSL vers. 1 and WSL vers. 2) which speeds up builds among others.
Same issue here. Builds will hang indefinitely on random steps.
I managed to get a build to work once by deleting the ~/.docker folder, but it started failing again after that.
Same issue here -- docker builds in WSL2 hang randomly; has been working properly for years. Importantly, I am able to continue builds by manually restarting docker desktop from GUI in Win 11... then my build in WSL2 continues.... but this is a definitely slowing me down. This also affects running containers that hang as well, due to Docker Desktop integration.
This is new behavior in last month since release of Docker Desktop version 4.29.0
My setup details: Win 11 - running latest 2024-04 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5036893) Docker Desktop 4.29.0 (145265) WSL2 running Ubuntu 22.04; RAM is 64GB WSL version: 2.1.5.0 Kernel version: 5.15.146.1-2 WSLg version: 1.0.60 MSRDC version: 1.2.5105 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp Windows version: 10.0.22631.3447
Actual behavior
After updating to 4.19
docker build
hangs with no feedback forever.docker buildx ls
also hangs forever.docker ps
anddocker run hello-world
run perfectly fine.Expected behavior
It builds
Information
This is a new problem after upgrading to 4.19 this morning. I have uninstalled and reinstalled Docker Desktop. It did not help.
Inside a WSL terminal: docker build works as normal.
It could be related to https://github.com/docker/for-win/issues/13479
Output of
& "C:\Program Files\Docker\Docker\resources\com.docker.diagnose.exe" check
Steps to reproduce the behavior