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 1d3ab6d + 5061fd3 commit bdee9adCopy full SHA for bdee9ad
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