diff --git a/daemon/mgr/container.go b/daemon/mgr/container.go index e42dd41d82..97b712b074 100644 --- a/daemon/mgr/container.go +++ b/daemon/mgr/container.go @@ -760,9 +760,10 @@ func (mgr *ContainerManager) createContainerdContainer(ctx context.Context, c *C IO: mgr.IOs.Get(c.ID), RootFSProvided: c.RootFSProvided, BaseFS: c.BaseFS, - SnapshotID: c.SnapshotID, } c.Unlock() + // make sure the SnapshotID got a proper value + ctrdContainer.SnapshotID = c.SnapshotKey() if checkpointID != "" { checkpointDir, err = mgr.getCheckpointDir(c.ID, checkpointDir, checkpointID, false)