Skip to content

[BUG] Compose 5.0.0 stopped respecting BUILDKIT_PROGRESS #13453

@pjonsson

Description

@pjonsson

Description

I just upgraded to Docker 29.1.3 from 29.1.2 on Ubuntu 24.04 and compose started to give fancy output when I have my BUILDKIT_PROGRESS set to plain. (It also messes up my terminal, but I see that has already been fixed.) Passing --progress plain as parameter to docker compose seems to still work.

Steps To Reproduce

With the official deb packages for Docker 29.1.3 with compose 5.0.0, run export BUILDKIT_PROGRESS=plain and then run docker compose -f docker-compose.yaml -f docker-compose.databaseservice.yaml up --build --wait -d.

Here's a start of my output:

[+] Building 1.0s (2/3)
 => [internal] load local bake definitions                                 0.0s
 => => reading from stdin 616B                                             0.0s
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 4.09kB                                     0.0s
 => resolve image config for docker-image://docker.io/docker/dockerfile:1  1.0s

Compose Version

Docker Compose version v5.0.0

Docker Environment

Client: Docker Engine - Community
 Version:    29.1.3
 Context:    default
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.30.1
    Path:     /usr/libexec/docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v5.0.0
    Path:     /usr/libexec/docker/cli-plugins/docker-compose

Server:
 Containers: 2
  Running: 2
  Paused: 0
  Stopped: 0
 Images: 2
 Server Version: 29.1.3
 Storage Driver: overlayfs
  driver-type: io.containerd.snapshotter.v1
 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 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 1c4457e00facac03ce1d75f7b6777a7a851e5c41
 runc version: v1.3.4-0-gd6d73eb8
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 6.8.0-71-generic
 Operating System: Ubuntu 24.04.3 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 76.57GiB
 Name: ubuntu24
 ID: 02f43483-0a20-41b3-8dfe-4a67650f1210
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  ::1/128
  127.0.0.0/8
 Registry Mirrors:
  https://some-mirror-here/
 Live Restore Enabled: false
 Firewall Backend: iptables

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions