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 e8149af commit 5061fd3Copy full SHA for 5061fd3
checkpoint.go
@@ -56,8 +56,8 @@ checkpointed.`,
56
if err != nil {
57
return err
58
}
59
- if status == libcontainer.Created {
60
- fatalf("Container cannot be checkpointed in created state")
+ if status == libcontainer.Created || status == libcontainer.Stopped {
+ fatalf("Container cannot be checkpointed in %s state", status.String())
61
62
defer destroy(container)
63
options := criuOptions(context)
0 commit comments