moby--moby/libcontainerd
Michael Crosby 2650b1b6ab Check if the container is running if no event
When there is no event for the container it can happen because of a
crash and the container state on the persistent disk will have a
mismatch between what was in `/run` ( machine crash ).

This situation will create an unkillable container in docker because
containerd does not see it and it is not running but docker thinks it is
and you cannot tell it anything different.

This fixes the issue by checking if containerd has the container running
if we do not have an event instead of just returning.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2016-07-28 11:17:02 -07:00
..
windowsoci
client.go
client_linux.go Check if the container is running if no event 2016-07-28 11:17:02 -07:00
client_solaris.go
client_windows.go Prepend libcontainerd log message with "libcontainerd:" 2016-07-22 15:20:14 -07:00
container.go
container_linux.go Prepend libcontainerd log message with "libcontainerd:" 2016-07-22 15:20:14 -07:00
container_solaris.go
container_windows.go Prepend libcontainerd log message with "libcontainerd:" 2016-07-22 15:20:14 -07:00
pausemonitor_linux.go
process.go
process_linux.go
process_solaris.go
process_windows.go
queue_linux.go
remote.go
remote_linux.go Prepend libcontainerd log message with "libcontainerd:" 2016-07-22 15:20:14 -07:00
remote_solaris.go
remote_windows.go
types.go
types_linux.go
types_solaris.go
types_windows.go
utils_linux.go
utils_windows.go