diff --git a/spec.go b/spec.go index a448ae60..ee228d61 100644 --- a/spec.go +++ b/spec.go @@ -191,6 +191,11 @@ func createLibcontainerConfig(spec *specs.LinuxSpec) (*configs.Config, error) { Readonlyfs: spec.Root.Readonly, Hostname: spec.Hostname, Privatefs: true, + Networks: []*configs.Network{ + { + Type: "loopback", + }, + }, } for _, ns := range spec.Linux.Namespaces { t, exists := namespaceMapping[ns.Type]