gvisor/pkg/shim/runsc
Fabricio Voznika 1e472a8572 Improve stopped container handling
Getting state of a stopped container would fail and could lead containerd
to not detecting that the container had actually stopped. Now stopped and
deleted containers return `stopped` state.

Also makes other messages more consistent when container is stopped. Some
where still sending messages to runsc and failing in different ways. Now
they go through `initState` state machine like the other messages.

There are a few changes to improve debugability with it as well.

Fixes #5861

PiperOrigin-RevId: 380698513
2021-06-21 17:19:05 -07:00
..
BUILD [op] Replace syscall package usage with golang.org/x/sys/unix in pkg/. 2021-03-03 10:25:58 -08:00
runsc.go Improve stopped container handling 2021-06-21 17:19:05 -07:00
utils.go Improve shim debug logging 2020-11-12 19:11:35 -08:00