Skip to content

Instantly share code, notes, and snippets.

@moxiegirl
Last active August 29, 2015 14:18
Show Gist options
  • Save moxiegirl/60a935fccb2e33c8e5ff to your computer and use it in GitHub Desktop.
Save moxiegirl/60a935fccb2e33c8e5ff to your computer and use it in GitHub Desktop.
1228

You can detach from the container and leave it running with CTRL-p CTRL-q (for a quiet exit) or with CTRL-c if --sig-proxy is false. If --sig-proxy is true (the default),CTRL-c sends a SIGINT to the container.

Note: A process running as PID 1 inside a container is treated specially by Linux: it ignores any signal without a handler installed. So, the process does not terminate on SIGINT or SIGTERM unless it is coded to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment