A stop signal is the signal configuration Podman sends to a container’s primary process, PID 1, to request orderly termination. section 2.1.3
Podman’s default stopping sequence is:
- Send SIGTERM, usually, to PID 1. section 2.1.3
- Wait 10 seconds for cleanup and committed changes. section 2.1.3
- Send SIGKILL if the process remains running; use -t 0 to skip the wait. section 2.1.3
Systemd containers
Systemd ignores SIGTERM and shuts down with SIGRTMIN+3, signal 37. Podman configures this stop signal for systemd-mode containers; inspect it with podman inspect. section 7.1.2
$ podman stop myapp
Run podman stop myapp for orderly termination, or podman stop -t 0 myapp1 for immediate SIGKILL. section 2.1.3
