You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docker compose is a CLI plugin, as you run kill -15 <PID> you send a signal to docker CLI, not CLI plugin. Need to send a signal to the whole process group so both docker CLI and plugins get signaled: kill -15 -<PID>.
Docker CLI has recently been updated to automatically notifiy plugins about a signal, see docker/compose#11361
Description
docker compose up
not forwarding SIGTERM/SIGINTIs not possible to correctly close the process programically
Reproduce
Expected behavior
Should work same way as ctrl+c in terminal
docker version
Client: Cloud integration: v1.0.35+desktop.5 Version: 24.0.7 API version: 1.43 Go version: go1.20.10 Git commit: afdd53b Built: Thu Oct 26 09:04:20 2023 OS/Arch: darwin/arm64 Context: desktop-linux Server: Docker Desktop 4.26.1 (131620) Engine: Version: 24.0.7 API version: 1.43 (minimum version 1.12) Go version: go1.20.10 Git commit: 311b9ff Built: Thu Oct 26 09:08:15 2023 OS/Arch: linux/arm64 Experimental: false containerd: Version: 1.6.25 GitCommit: d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f runc: Version: 1.1.10 GitCommit: v1.1.10-0-g18a0cb0 docker-init: Version: 0.19.0 GitCommit: de40ad0
docker info
Diagnostics ID
BE8B2C7C-E1F9-4F7C-9C9F-CD97EA2CF491/20240129143415
Additional Info
MacOS Sonoma 14.3
The text was updated successfully, but these errors were encountered: