Docker Community Forums

Share and learn in the Docker community.

Send SIGTERM/SIGKILL with Ctrl+C

When I’m running console processes on my OS X, I often need to kill the process while it’s running without using docker stop/kill command, but apparently the Ctrl+c combination (as well as Ctrl+z) are not passed to process properly. Has anyone dealt with this problem?

1 Like

Same issue with docker machine for Windows.
Using the vbox docker vm or a remote docker hardware, the ctrl+c doesn’t sigkill the running application.
The same command directly on the docker host works fine : the container terminate itself.