Skip to content

Instantly share code, notes, and snippets.

@jboursiquot
Created February 9, 2017 18:58
Show Gist options
  • Save jboursiquot/241ccc46620ba3296a7da5b066be55f5 to your computer and use it in GitHub Desktop.
Save jboursiquot/241ccc46620ba3296a7da5b066be55f5 to your computer and use it in GitHub Desktop.
Send signal to container within host
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