Repository navigation
[BUG] Compose does not observe the BUILDKIT_PROGRESS environement variable #12457
Copy link
Copy link
Labels
Description
Activity
I'm on Compose: v2.38.1-desktop.1 and this still doesn't work for me. That is I still get fancy output with docker compose build when BUILDKIT_PROGRESS is set to plain.
I am also still experiencing this, on Compose v2.38.2. I suggest this issue be reopened.
$> docker compose version Docker Compose version 2.38.2 $> docker version Client: Docker Engine - Community Version: 28.3.2 API version: 1.47 (downgraded from 1.51) Go version: go1.24.5 Git commit: 578ccf607d Built: Wed Jul 9 12:04:02 2025 OS/Arch: darwin/arm64 Context: default Server: Docker Engine - Community Engine: Version: 27.4.0 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 92a8393 Built: Sat Dec 7 10:39:01 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.24 GitCommit: 88bf19b2105c8b17560993bee28a01ddc2f97182 runc: Version: 1.2.2 GitCommit: v1.2.2-0-g7cb3632 docker-init: Version: 0.19.0 GitCommit: de40ad0Reacted by ToshYI am also still experiencing this, on Compose v2.38.2. I suggest this issue be reopened.
$> docker compose version Docker Compose version 2.38.2 $> docker version Client: Docker Engine - Community Version: 28.3.2 API version: 1.47 (downgraded from 1.51) Go version: go1.24.5 Git commit: 578ccf607d Built: Wed Jul 9 12:04:02 2025 OS/Arch: darwin/arm64 Context: default Server: Docker Engine - Community Engine: Version: 27.4.0 API version: 1.47 (minimum version 1.24) Go version: go1.22.10 Git commit: 92a8393 Built: Sat Dec 7 10:39:01 2024 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.7.24 GitCommit: 88bf19b2105c8b17560993bee28a01ddc2f97182 runc: Version: 1.2.2 GitCommit: v1.2.2-0-g7cb3632 docker-init: Version: 0.19.0 GitCommit: de40ad0Same,
BUILDKIT_PROGRESSis not working fordocker compose build/docker compose up --buildatv2.38.2.More so, changing from
v2.38.2tov2.39.xchanged my output toplainby default in the terminal.docker infoClient: Docker Engine - Community Version: 28.3.2 Context: default Debug Mode: false Plugins: buildx: Docker Buildx (Docker Inc.) Version: v0.25.0 Path: /usr/libexec/docker/cli-plugins/docker-buildx compose: Docker Compose (Docker Inc.) Version: v2.38.2 Path: /home/user/.docker/cli-plugins/docker-compose Server: Containers: 26 Running: 17 Paused: 0 Stopped: 9 Images: 118 Server Version: 28.3.2 Storage Driver: overlay2 Backing Filesystem: extfs Supports d_type: true Using metacopy: false Native Overlay Diff: true userxattr: false Logging Driver: json-file Cgroup Driver: systemd Cgroup Version: 2 Plugins: Volume: local Network: bridge host ipvlan macvlan null overlay Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog CDI spec directories: /etc/cdi /var/run/cdi Swarm: inactive Runtimes: io.containerd.runc.v2 nvidia runc Default Runtime: runc Init Binary: docker-init containerd version: 05044ec0a9a75232cad458027ca83437aae3f4da runc version: v1.2.5-0-g59923ef init version: de40ad0 Security Options: seccomp Profile: builtin cgroupns Kernel Version: 6.6.87.2-microsoft-standard-WSL2 Operating System: Ubuntu 22.04.5 LTS OSType: linux Architecture: x86_64 CPUs: 4 Total Memory: 7.757GiB Name: DESKTOP-TTP757E ID: 0e6a9e8e-5b9e-4049-baf9-1efaf7f3d139 Docker Root Dir: /var/lib/docker Debug Mode: false Experimental: false Insecure Registries: ::1/128 127.0.0.0/8 Live Restore Enabled: false
Description
Buildkit provides a
--progressoption which can also be set via theBUILDKIT_PROGRESSenvironment variable..The
--progressflag is effectively observed by Compose, but not the environment variable. For consistency and ease of configuration it would be nice if it did.Steps To Reproduce
docker compose build --progress=plainBUILDKIT_PROGRESS=plain;docker compose buildis back to fancy output.Compose Version
Docker Environment
Anything else?
No response