Skip to content

Commit

Permalink
Merge pull request #1871 from Ace-Tang/add_mask_restore
Browse files Browse the repository at this point in the history
cr: don't restore net namespace by default
  • Loading branch information
crosbymichael authored Aug 21, 2018
2 parents 20aff4f + 4803faf commit 9744d79
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions restore.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9744d79

Please sign in to comment.