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.
1 parent e83ccf6 commit a60040cCopy full SHA for a60040c
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