Skip to content
Advertisement

How to send signal to program run in a docker container?

I have a program run in a docker container with detached mode.

So how to send a signal such as SIGINT to this program?

Advertisement

Answer

You can use nsenter to get into your container space and send your signal.

JavaScript

More info : http://jpetazzo.github.io/2014/06/23/docker-ssh-considered-evil/

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement