Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove container stat dir when no process found in restore
Under some abnormal cases, container state dir exist while pid file not. containerd restore would print this error to log without handling this, it will set container state to stopped without removing its state dir. trying to start the container again will cause error: `mkdir /var/run/docker/libcontainerd/containerd/xxx: file exists` Signed-off-by: Deng Guangxing <dengguangxing@huawei.com>
- Loading branch information