docker-library / busybox

Docker Official Image packaging for Busybox
http://busybox.net
391 stars 126 forks source link

Add SIGTERM Support #139

Closed nickkeane closed 2 years ago

nickkeane commented 2 years ago

Docker expects containers to respond to SIGTERM to shut down safely. It currently looks like the busybox container is getting shut down after 10 seconds on my server.

https://docs.docker.com/engine/reference/commandline/stop/

yosifkit commented 2 years ago

:confused: busybox is just a collection of tools, so depending on what you are running it may or may not respond to a SIGTERM. There isn't anything we could do in the image for that.