Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions daemon/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ func (daemon *Daemon) RegistryHosts() docker.RegistryHosts {
}

func (daemon *Daemon) restore(ctx context.Context) error {
// Restoring containers after a restart is not yet supported
// when using the containerd content store.
if daemon.UsesSnapshotter() {
return nil
}
var mapLock sync.Mutex
containers := make(map[string]*container.Container)

Expand Down