{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/6"}],"enrichment":{"capability":"dumb-init is a minimal init system that runs as PID 1 in containers, properly handling signals and reaping zombie processes so your application receives clean signal delivery and graceful shutdown.","skillfed_tags":["container-init","signal-handling","docker"],"use_cases":["Docker containers running shell scripts or multiple background services that need proper signal propagation on shutdown","Kubernetes or Mesos deployments where the orchestrator sends standard signals but your app requires a different stop signal","Minimal container images where you want to avoid full init systems like systemd but still need correct process lifecycle handling","CI/CD pipelines where docker run commands need to cleanly terminate containers without leaving them running in the background"],"what_it_does":"dumb-init is a statically-linked C binary deployed as a Python package that solves two critical problems when running applications as PID 1 inside containers. Normally, when a process becomes PID 1, the Linux kernel applies special signal handling rules: signals without explicit handlers are ignored rather than triggering default behavior, and orphaned zombie child processes are never reaped. This breaks graceful shutdown (SIGTERM has no effect) and leaves defunct processes accumulating in the container.\n\ndumb-init runs as PID 1 and immediately spawns your actual application as a child process. It proxies all signals to that child, which then receives normal signal handling. By default it establishes a process session, so signals reach the entire process tree\u2014useful for shell scripts that spawn background services. It also supports signal rewriting (e.g., converting SIGTERM to SIGQUIT for applications that require a specific stop signal) and can operate in single-child mode for transparent signal forwarding.","worth_installing":"Yes, if you run containerized applications as PID 1 and need reliable signal handling and zombie reaping. The package is actively maintained, has no known vulnerabilities, and solves a real problem in container environments. Verify the license terms first if you have commercial or legal constraints."},"id":"dumb-init","links":{"html":"https://skillfed.io/packages/dumb-init","md":"https://skillfed.io/packages/dumb-init.md","pypi":"https://pypi.org/project/dumb-init/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2022-04-26","license_spdx":null,"license_treatment":"unclear","name":"dumb-init","python_support":"unspecified","summary":"Simple wrapper script which proxies signals to a child"},"popularity":{"monthly_downloads":455381,"position":6559,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.2.5.post1"}
