Skip to content

[BUG] docker compose run --quiet-pull doesn't work #10714

@chris-dekker

Description

@chris-dekker

Description

Running docker compose run --quiet-pull .. should avoid printing the container pulling information, but this simply doesn't work. It still prints the following

[+] Running 2/0
 ⠿ Container my-container-1       Running                                                                                                                                                                  0.0s
 ⠿ Container my-container-2  Created

Before printing the actual container's run command output.

This messes with scripts that use the run command's output which is now mixed with container pull information.

Was already reported and re-reported here, but that issue was closed without resolution.

Steps To Reproduce

docker compose run --quiet-pull wdio npm run wdio

Compose Version

Docker Compose version v2.15.1

Docker Environment

Client:
 Context:    default
 Debug Mode: false
 Plugins:
  app: Docker App (Docker Inc., v0.9.1-beta3)
  buildx: Docker Buildx (Docker Inc., v0.8.2-docker)
  compose: Docker Compose (Docker Inc., v2.15.1)
  scan: Docker Scan (Docker Inc., v0.17.0)

Server:
 Containers: 12
  Running: 2
  Paused: 0
  Stopped: 10
 Images: 79
 Server Version: 20.10.17
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  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 logentries splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 io.containerd.runtime.v1.linux runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 0197261a30bf81f1ee8e6a4dd2dea0ef95d67ccb
 runc version: v1.1.3-0-g6724737
 init version: de40ad0
 Security Options:
  apparmor
  seccomp
   Profile: default
  cgroupns
 Kernel Version: 5.19.0-43-generic
 Operating System: Ubuntu 22.04.2 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 16
 Total Memory: 31.1GiB
 Name: dekker-Precision-5550
 ID: K4C2:DLWX:7ZTL:COE7:5UYL:KUVF:4TTB:5VXC:OHHQ:PXNY:3QBZ:FK2J
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Username: chrisdekker
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false
 Default Address Pools:
   Base: 10.0.0.0/16, Size: 24

Anything else?

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions