Closed dipanghosh closed 1 month ago
Hey @dipanghosh
Compose is vendoring buildx which explains why even if you downgrade buildx version you still have the issue with Compose. This will be fixed on the Compose side when we'll bump buildx version with the fix included
Ah I see. That makes sense.
Thanks for the clarification. Once the new version comes, I will close the issue.
I'm getting this too, is there an estimate for when it will be fixed, or a workaround if that is a while away? I have Docker version 27.1.1 and Docker Buildx version 0.16.1
Fixed for me by upgrading to Docker version 27.2.1 with buildx v0.16.2
@dipanghosh can we close this issue? do you still have troubles with lates releases of Compose?
I have not checked myself, but i believe it to be resolved.
Description
Running
docker compose build
fails with
bad file descriptor
I managed to track down this issue to the buildx plugin of docker. See this buildx issue and this pull request. However, I have downgraded buildx to 15.1, and docker compose build still fails. Docker build works after the downgrade.
Steps To Reproduce
Trying to build a container, while on a NFS is likely causing the issue.
Run
docker compose build
Compose Version
Docker Environment
Anything else?
I downgraded compose to version 2.28.1, at which point the errors were resolved.