containerd/runtime/v2/runc
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
..
manager Merge pull request #6452 from zvier/main 2022-02-17 10:50:48 +08:00
options Update gogo/protobuf to v1.3.2 2021-01-28 12:57:50 +00:00
task feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
v1 containerd-shim-runc-v1: return init pid when clean dead shim 2022-02-20 15:12:50 +08:00
v2 Use task plugin for runc shim 2021-12-13 10:37:13 -08:00
container.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
platform.go feat: replace github.com/pkg/errors to errors 2022-01-07 10:27:03 +08:00
util.go refactor: move from io/ioutil to io and os package 2021-09-21 09:50:38 +08:00