containerd/cmd/ctr
Samuel Karp 607888ce29 ctr: make kill use stop-signal by default
The OCI image specification includes a `StopSignal` field in the image
configuration, denoting the system call signal to be sent to the
container to exit.  This commit adds a new `WithImageStopSignal` container
option that can be used for storing the `StopSignal` field as a label on
the container.  This commit also adjusts `ctr run` to call
`WithImageStopSignal` and `ctr tasks kill` to send the signal stored in
that label by default.

Signed-off-by: Samuel Karp <skarp@amazon.com>
2018-09-27 15:53:38 -07:00
..
app Add install support for binary images 2018-08-02 17:11:29 -04:00
commands ctr: make kill use stop-signal by default 2018-09-27 15:53:38 -07:00
builtins_cri_linux.go Add cri subcommand and add ctr/command package 2018-03-14 01:11:29 +00:00
main.go Seed random on ctr and containerd startup 2018-07-12 17:51:55 -07:00