From 05242a4c60a9fb2294d846338b2df3157af70194 Mon Sep 17 00:00:00 2001 From: Eric Rosenberg Date: Wed, 28 Oct 2015 13:06:21 -0500 Subject: [PATCH] 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 --- docs/reference/commandline/kill.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/reference/commandline/kill.md b/docs/reference/commandline/kill.md index e25c899229..dabbabbe77 100644 --- a/docs/reference/commandline/kill.md +++ b/docs/reference/commandline/kill.md @@ -19,3 +19,8 @@ parent = "smn_cli" The main process inside the container will be sent `SIGKILL`, or any signal specified with option `--signal`. + +> **Note:** +> `ENTRYPOINT` and `CMD` in the *shell* form run as a subcommand of `/bin/sh -c`, +> which does not pass signals. This means that the executable is not the container’s PID 1 +> and does not receive Unix signals.