Description
This issue was fixed in 2.6.0 and is not reproducible till 2.9.0 (includes 2.9.0) But since 2.10 was broken again.
Here my old issue: #9494
I assume (but not sure) that this #9488 PR fixes old issue. But as I can see fix is still in v2 branch.
Steps To Reproduce
- Define 3 services in the
docker-compose.yaml with depends_on key. (example below)
- Up only php container with
--attach-dependencies eg. docker compose up php --attach-dependencies
- Click on Ctrl + C or run docker compose kill in the separate tab
- Docker stops only php container and freezes on this step and don't stop others.
version: "3.4"
services:
php:
image: php:8.1.12-fpm-alpine3.16
depends_on:
- mailhog
memcache:
image: memcached:1.6-alpine
restart: on-failure
mailhog:
image: mailhog/mailhog
ports:
- "127.0.0.1:8025:8025"
Compose Version
Docker Compose version v2.13.0
Docker Environment
Client:
Context: default
Debug Mode: false
Plugins:
compose: Docker Compose (Docker Inc., v2.13.0)
Server:
Containers: 11
Running: 0
Paused: 0
Stopped: 11
Images: 50
Server Version: 20.10.12
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
userxattr: false
Logging Driver: json-file
Cgroup Driver: cgroupfs
Cgroup Version: 1
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:
runc version:
init version:
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.15.0-53-generic
Operating System: Ubuntu 20.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 23.41GiB
Name: sid
ID: ULXA:3XFE:FTGL:CKAH:WTPB:5HTB:DQS6:IKL6:IBG7:YDWW:LYTZ:EAXA
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
Anything else?
No response
Description
This issue was fixed in 2.6.0 and is not reproducible till 2.9.0 (includes 2.9.0) But since 2.10 was broken again.
Here my old issue: #9494
I assume (but not sure) that this #9488 PR fixes old issue. But as I can see fix is still in v2 branch.
Steps To Reproduce
docker-compose.yamlwith depends_on key. (example below)--attach-dependencieseg.docker compose up php --attach-dependenciesCompose Version
Docker Environment
Anything else?
No response