Docker sq
Docker Fundamentals - Container Lifecycle

The End of Containers

PRO

The End of Containers

ctrl-c will forward a SIGINT message to a running container, which forwards it to its process ID 1. It will only exit when that process has terminated. This may not be immediate.