[BUG] Unexpected output on already turned off service when running compose down
Author: furaiCreated Sep 15, 2026Updated Sep 16, 2026
Labelskind/bugstatus/0-triage
Description
Currently when running composer down multiple times I'm getting messages that something was cleaned which didn't happen in the past and is confusing.
Steps To Reproduce
- Run
docker compose up --build --pull always - Run
docker compose down --rmi local --remove-orphans - Run above command again.
- Watch CLI for messages like:
$ docker compose down --rmi local --remove-orphans [+] down 1/1 ✔ Dangling images Removed - Each time you repeat the above command you get same output about removed dangling images, even though there's nothing to remove anymore.
Compose Version
Docker Compose version 5.5.1Docker Environment
Client:
Version: 29.8.0
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc.)
Version: 0.37.1
Path: /usr/lib/docker/cli-plugins/docker-buildx
compose: Docker Compose (Docker Inc.)
Version: 5.5.1
Path: /usr/lib/docker/cli-plugins/docker-compose
Server:
Containers: 0
Running: 0
Paused: 0
Stopped: 0
Images: 33
Server Version: 29.8.0
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Using metacopy: true
Native Overlay Diff: false
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 runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 1294c24a7da8e5a793ed378161673abe94118892.m
runc version:
init version: de40ad0
Security Options:
seccomp
Profile: builtin
cgroupns
Kernel Version: 7.2.4-arch1-2
Operating System: Arch Linux
OSType: linux
Architecture: x86_64
CPUs: 32
Total Memory: 62.71GiB
Name: <snip>
ID: GBA2:RCC2:I3KF:DCOL:KPFB:VESF:4CS7:AZJP:A6ZR:WOHV:GZ5X:4NS5
Docker Root Dir: /var/lib/docker
Debug Mode: false
Experimental: false
Insecure Registries:
::1/128
127.0.0.0/8
Live Restore Enabled: false
Firewall Backend: iptables
EnableUserlandProxy: true
UserlandProxyPath: /usr/bin/docker-proxyAnything else?
No response
Source: docker/compose