Created
February 9, 2017 18:58
-
-
Save jboursiquot/241ccc46620ba3296a7da5b066be55f5 to your computer and use it in GitHub Desktop.
Send signal to container within host
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PID=$(docker inspect --format {{.State.Pid}} e885eb3b7a12) | |
nsenter --target $PID --mount --uts --ipc --net --pid kill -SIGQUIT 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment