diff --git a/daemon/daemon.go b/daemon/daemon.go index 66b088ab59..7ec71a1305 100644 --- a/daemon/daemon.go +++ b/daemon/daemon.go @@ -179,7 +179,7 @@ func (daemon *Daemon) restore() error { logrus.Errorf("Failed to restore with containerd: %q", err) return } - if !c.HostConfig.NetworkMode.IsContainer() { + if !c.HostConfig.NetworkMode.IsContainer() && c.IsRunning() { options, err := daemon.buildSandboxOptions(c) if err != nil { logrus.Warnf("Failed build sandbox option to restore container %s: %v", c.ID, err)