We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cce5713 + a60040c commit 6cbd8e2Copy full SHA for 6cbd8e2
checkpoint.go
@@ -38,6 +38,13 @@ checkpointed.`,
38
if err != nil {
39
return err
40
}
41
+ status, err := container.Status()
42
+ if err != nil {
43
+ return(err)
44
+ }
45
+ if status == libcontainer.Created {
46
+ fatalf("Container cannot be checkpointed in created state")
47
48
defer destroy(container)
49
options := criuOptions(context)
50
// these are the mandatory criu options for a container
0 commit comments