containerd/cmd/ctr/commands/run
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
..
run_unix.go ctr: make kill use stop-signal by default 2018-09-27 15:53:38 -07:00
run_windows.go Fix ctr run for Windows containers 2018-09-20 14:28:36 -07:00
run.go Fix ctr run for Windows containers 2018-09-20 14:28:36 -07:00