diff --git a/checkpoint.go b/checkpoint.go index 61e58351..67c767a4 100644 --- a/checkpoint.go +++ b/checkpoint.go @@ -125,7 +125,8 @@ var namespaceMapping = map[specs.LinuxNamespaceType]int{ } func setEmptyNsMask(context *cli.Context, options *libcontainer.CriuOpts) error { - var nsmask int + /* Runc doesn't manage network devices and their configuration */ + nsmask := unix.CLONE_NEWNET for _, ns := range context.StringSlice("empty-ns") { f, exists := namespaceMapping[specs.LinuxNamespaceType(ns)]