diff --git a/containerd-shim/process.go b/containerd-shim/process.go index 6fafa762a..ed9874860 100644 --- a/containerd-shim/process.go +++ b/containerd-shim/process.go @@ -135,6 +135,7 @@ func (p *process) create() error { ) } else if p.checkpoint != nil { args = append(args, "restore", + "-d", "--image-path", p.checkpointPath, "--work-path", filepath.Join(p.checkpointPath, "criu.work", "restore-"+time.Now().Format(time.RFC3339)), )