I was able to confirm that if I add “–stop-signal SIGHUP” when running the container (podman container run), it will terminate without warning when I run podman stop.
I thought this was because PID1 was bash and the TERM signal was ignored, but I don’t understand why the 8 series container terminated normally.
You can use the following cmds to inspect your containers setup, the container does NOT have to be running :
show the command that runs by default in the container : podman inspect --format "{{ .Config.Cmd }}" <container>
show the default stop signal used in the container : podman inspect --format "{{ .Config.StopSignal }}" <container>
You can also pass cli parameters to alter the behavoir at run time, or edit the container or the compose/container file, edit the image with other cmds as well.