compose: Error while Killing - level=error msg="got 3 SIGTERM/SIGINTs, forcing shutdown
Description
Steps to reproduce the issue:
- with docker running in terminal use ctrl+c to stop
- ctrl + c again to force it to stop
- error message appears
Describe the results you received: level=error msg=“got 3 SIGTERM/SIGINTs, forcing shutdown”
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Output of docker compose version
:
Docker Compose version v2.2.1
Output of docker info
:
Client:
Context: default
Debug Mode: false
Plugins:
buildx: Docker Buildx (Docker Inc., v0.7.1)
compose: Docker Compose (Docker Inc., v2.2.1)
scan: Docker Scan (Docker Inc., v0.14.0)
Server:
Containers: 13
Running: 1
Paused: 0
Stopped: 12
Images: 13
Server Version: 20.10.11
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: runc io.containerd.runc.v2 io.containerd.runtime.v1.linux
Default Runtime: runc
Init Binary: docker-init
containerd version: 7b11cfaabd73bb80907dd23182b9347b4245eb5d
runc version: v1.0.2-0-g52b36a2
init version: de40ad0
Security Options:
seccomp
Profile: default
Kernel Version: 5.10.60.1-microsoft-standard-WSL2
Operating System: Docker Desktop
OSType: linux
Architecture: x86_64
CPUs: 16
Total Memory: 24.84GiB
Name: docker-desktop
ID: 3NNE:S3JO:7PS5:XYME:K5M4:HHNM:HNPX:TBBB:2JPY:NORI:GEDC:ZAUN
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
WARNING: No blkio throttle.read_bps_device support
WARNING: No blkio throttle.write_bps_device support
WARNING: No blkio throttle.read_iops_device support
WARNING: No blkio throttle.write_iops_device support
Additional environment details:
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 6
- Comments: 27 (10 by maintainers)
The issue is fixed for me too. Thank you!
My issue is fixed.
docker 20.10.23 was released to download.docker.com, which also includes
.deb
and.rpm
packages for docker compose 2.15.1 👍@glours here goes:
docker-compose.yaml
Repro:
docker compose version
docker info
I’m seeing the same behavior as @jonerrr, same versions and all.
@Zainzzkk, any chance we could get this issue re-opened?
I am having the same issue when I run
docker compose logs -f
on Debian 11 and docker compose version 2.14.1.Docker version:
I tried a few variations of the configurations and it looks like the problem only arises when Django
runserver
orgunicorn
, so it’s probably due to the servers intercepting the CTRL-C somehow.A simple thing you can do is to run the samples from awesome-compose and check if you can reproduce the issue. For example you can try samples using same tech as your stack (django, flask-redis ones)
Not for me - happening on Docker Desktop 4.10.0 (82025)