Merge pull request #1871 from Ace-Tang/add_mask_restore
cr: don't restore net namespace by default
This commit is contained in:
commit
9744d7958a
|
@ -109,6 +109,9 @@ using the runc checkpoint command.`,
|
|||
return err
|
||||
}
|
||||
options := criuOptions(context)
|
||||
if err := setEmptyNsMask(context, options); err != nil {
|
||||
return err
|
||||
}
|
||||
status, err := startContainer(context, spec, CT_ACT_RESTORE, options)
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Reference in New Issue