diff --git a/cache/blobs.go b/cache/blobs.go index eea130803934..71e61124e069 100644 --- a/cache/blobs.go +++ b/cache/blobs.go @@ -493,7 +493,7 @@ func commitOverlayBD(ctx context.Context, sr *immutableRef, desc *ocispecs.Descr } dir := path.Dir(bdPath) commitPath := path.Join(dir, "overlaybd.commit") - err = obdcmd.Commit(ctx, dir, dir, true, "-t", "-z") + err = obdcmd.Commit(ctx, dir, dir, true, "-t", "-f", "-z") if err != nil { return errors.Wrapf(err, "failed to overlaybd-commit") }