containerd/runtime
Wei Fu 7901f4b331 containerd-shim-runc-v1: return init pid when clean dead shim
If containerd-shim-runc-v1 process dead abnormally, such as received
kill -s 9 signal, panic or other unkown reasons, the containerd-shim-runc-v1
server can not reap runc container and forward init process exit event.
This will lead the container leaked in dockerd. When shim dead, containerd
will clean dead shim, here read init process pid and forward exit event
with pid at the same time.

Related to: #6402

Signed-off-by: Jeff Zvier <zvier20@gmail.com>
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2022-02-20 15:12:50 +08:00
..
linux/runctypes Update gogo/protobuf to v1.3.2 2021-01-28 12:57:50 +00:00
opts Update cgroups to v1.0.2 2021-10-08 17:48:33 -07:00
restart feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
v1 feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
v2 containerd-shim-runc-v1: return init pid when clean dead shim 2022-02-20 15:12:50 +08:00
events.go Licence header added 2018-02-19 10:32:26 +09:00
monitor.go Add runtime label to metrics 2021-07-23 10:04:46 -07:00
runtime.go Support custom runtime path when launching tasks 2021-11-09 13:31:46 -08:00
task_list.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
task.go Cleanup v2 shim 2021-08-04 10:38:05 -07:00
typeurl.go Licence header added 2018-02-19 10:32:26 +09:00