containerd/cmd/ctr/commands
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
..
containers fix when --config provided, don't need Image/RootFS 2018-08-27 11:18:25 +08:00
content Add platform match comparer interface 2018-08-27 00:11:46 -07:00
events Correctly handle reading from events channel 2018-04-25 11:21:22 -04:00
images Unify docker and oci importer 2018-09-17 14:41:43 -07:00
install Add optional install path 2018-09-11 10:36:00 -04:00
leases *: replace 3600 seconds with 1 hour 2018-08-02 11:40:03 -07:00
namespaces Licence header added 2018-02-19 10:32:26 +09:00
plugins Introduce plugins/list subcommand 2018-07-02 10:20:20 +03:00
pprof Licence header added 2018-02-19 10:32:26 +09:00
run ctr: make kill use stop-signal by default 2018-09-27 15:53:38 -07:00
shim Runtime v2 2018-07-17 10:21:29 -04:00
snapshots content: change Writer/ReaderAt to take OCI 2018-06-01 11:51:43 +09:00
tasks ctr: make kill use stop-signal by default 2018-09-27 15:53:38 -07:00
version Licence header added 2018-02-19 10:32:26 +09:00
client.go Fixes for runtimev2 and checkpoint restore 2018-07-20 12:09:29 -04:00
commands_unix.go Move ContainerFlags to "commands" package 2018-06-20 18:33:59 -07:00
commands.go Add flag to ctr for running with NoNewPrivileges: false 2018-09-14 11:03:58 -04:00
resolver.go Licence header added 2018-02-19 10:32:26 +09:00
signals.go signals: move ParseSignal to containerd package 2018-09-27 15:53:38 -07:00