No running output from "docker compose build"

I recently updated the verison of docker I’m using; I’m currently running docker-ce 5:28.3.3-1~debian.12~bookworm and docker-buildx-plugin 0.26.1-1~debian.12~bookworm

When I run docker compose build, I get no running output on the terminal. Adding BUILDKIT_PROGRESS=plainto the beginning of the command doesn’t change anything. After a while, the terminal command ends, and the docker images are built. So, the build is working, I’m just not getting any output while it’s building, and given that the build can take minutes, it would be nice to have some log of what’s going on so I have confidence that things are still on track.

Previously, when I ran docker compose build, it would give me the running output of which build stage it was on and the output of any RUN commands during the build. Those would be in updating lines with few-line “windows” on the terminal normally, or a full scrolling terminal log with BUILDKIT_PROGRESS=plain .

I don’t know what changed. I supsect there’s some setting somewhere that’s affected the output that I’m showing, but I haven’t been able to figure out from the documentation what config files or what setting in those config files I should be looking for.

Did you check for an existing issue?

Not on Debian, but I tried the same version of docker buildx and docker compose v2.39.1. Worked perfectly. I can’t test it on Debian now.

  • What is your compose version?
  • Is your hosts pecial in any way? Is it a virtual machine or physical host? Is it running in WSL2 on Windows?
  • What kind of shell are you using? (bash? zsh?)
  • Do you see any output when using docker build instead of docker compose build?
  • Can you see anything suspicious when running journalctl -e? Or when running journalctl -e -u docker?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.