Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
we store the active sandbox after daemon.containerd.Restore, but there is a chance the `Restore` will set the container to exit see (https://github.com/docker/docker/blob/master/libcontainerd/client_linux.go#L469). so we should check if the container is really running before add it to activesandbox. Signed-off-by: Lei Jitang <[email protected]> (cherry picked from commit 78f3094)
- Loading branch information