mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
2650b1b6ab
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> |
||
---|---|---|
.. | ||
windowsoci | ||
client.go | ||
client_linux.go | ||
client_solaris.go | ||
client_windows.go | ||
container.go | ||
container_linux.go | ||
container_solaris.go | ||
container_windows.go | ||
pausemonitor_linux.go | ||
process.go | ||
process_linux.go | ||
process_solaris.go | ||
process_windows.go | ||
queue_linux.go | ||
remote.go | ||
remote_linux.go | ||
remote_solaris.go | ||
remote_windows.go | ||
types.go | ||
types_linux.go | ||
types_solaris.go | ||
types_windows.go | ||
utils_linux.go | ||
utils_windows.go |