-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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] Overlapping print rows while building #12370
Comments
Update: I works fine after downgrading to earlier versions of docker-compose, for example 2.30.3. |
I also noticed this issue. Seems we need to disable compose progress UI while buildkit is using the console to render build state |
I have the same issue when upgrading to |
Docker compose version |
I made a duplicate issue by accident, here's a gif I made of the problem though for reference |
In case useful for those looking into this; we had some pull requests in docker/cli recently to fix a similar issue for |
The issue seems to stem for two writers writing to Stdout and Stderr at the same time. Interestingly enough, if I run
And if I run
So the issue seems to be the mixing of two outputs. OR
Perhaps buildkit output needs to always be two lines above the compose output - that way both would get their own scratch space and not trample each other. |
Downgraded to 4.36 and problem still persists. Builds are super slow and unstable. Disabling buildkit fixes the flicker at the cost of time but something is def off. Builds that took a min now go into 5+ minutes. |
Yeah something is cooked. Ever since it started flickering the builds take much longer. |
Just checking - I see this issue is closed but I'm still having this issue on a brand new install. When is the fix for this going to be released? |
Just received an email recommending upgrading to Docker Desktop 4.37.2 (179585) with Compose: v2.31.0-desktop.2 and the flickering issue is still happening. |
Description
When docker-compose is building images the printout seems to be confused about which rows to use. It prints out, e.g., both a Dockerfile instruction, like COPY, as well as the current container status on the same row. This results in a constant switching between what is written.
Steps To Reproduce
docker-compose.yml
filedocker-compose build --no-cache
Compose Version
Docker Environment
Anything else?
I don't really know what caused it to happen. I know the steps to reproduce aren't satisfactory but I'm not sure what else to write. Any insight regarding the printout is appreciated.
Here's an image as well as a video of the building process.
https://github.com/user-attachments/assets/4a0d560c-3ce1-4192-ae2d-533789d41b45
Running with
--progress plain
works of course but that's sidestepping the issue.I tried reinstalling. Neither different terminals nor tty changed anything.
P.S.
build
specifically doesn't have to be run, anything that would cause that specific progress type to display works.The text was updated successfully, but these errors were encountered: