New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] compose 2.20.1 broke image building on remote Engine (still not fixed in 2.26.0) #11165
Comments
Can you successfully build the same image using |
With CLI v20.10.23 and its included buildx v0.10.0-docker, |
Release v2.23.3 includes an updated version of buildx, would you have a chance to give it a try ? |
Thank you for the update, unfortunately the behavior is exactly the same and with the same timings:
(exit code is 17) Is there any way to enable "debug" mode for compose like I can do for docker CLI (with |
Same expirience here. What is the latest working version? |
@d4rkmen I am using 2.20.0 which works |
Any news on this? Our clients have to downgrade to docker desktop 4.21.0 to be able to build docker images on remotes, very inconvenient. |
I rolled back to 4.20.1 and can confirm the issue does not occur on that version. |
@ndeloof any possibility of resolving this issue? |
I have no idea what's wrong here. Compose fully delegates build to buildx (vendored inside binary) and has no control on the communication between client and (remote) builder |
Oh that makes sense. Edit: for anybody following this issue, I have opened docker/buildx#2356 |
Description
My use case is building/deploying from a Windows client on/to remote Linux Engine instances. I have been using compose 2.16.0 successfully for a long time until I decided to upgrade to the latest 2.23.0.
I have found the breaking point to be version 2.20.1.
Environment variables:
Docker info:
Not working with 2.20.1:
It takes more than 3 minutes from
[+] Building 0.0s (0/0)
appearing to the command erroring out (but the remote Engine host is just an Hyper-V VM running PhotonOS, on the same machine through a virtual network switch).This behavior is consistent from try to try.
Working with 2.20.0 (exact same environment, only difference is the compose exe):
(notice the
http2
error: I could only reproduce it once, all other times it was never reported, but it did not break the build in this instance)The problem seems related to BuildKit/buildx, I have also tried upgrading compose to 2.23.0, docker CLI to 24.0.6 and the buildx plugin to 0.11.2 but the result is exactly the same.
Steps To Reproduce
No response
Compose Version
No response
Docker Environment
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: