Browse code

Update kill.md

Added Note to show users that signals will not propagate to the container if the preferred exec form isn't used.

Signed-off-by: Eric Rosenberg <ehaydenr@gmail.com>
(cherry picked from commit c1a5ee53c19d62918f5ef245b5d2268fb9c89ca8)

Eric Rosenberg authored on 2015/10/29 03:06:21
Showing 1 changed files
... ...
@@ -19,3 +19,8 @@ parent = "smn_cli"
19 19
 
20 20
 The main process inside the container will be sent `SIGKILL`, or any
21 21
 signal specified with option `--signal`.
22
+
23
+> **Note:**
24
+> `ENTRYPOINT` and `CMD` in the *shell* form run as a subcommand of `/bin/sh -c`,
25
+> which does not pass signals. This means that the executable is not the container’s PID 1
26
+> and does not receive Unix signals.