bring the loopback interface up
Signed-off-by: Fabio Kung <fabio.kung@gmail.com>
This commit is contained in:
parent
1ed929f177
commit
963fc63fca
5
spec.go
5
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]
|
||||
|
|
Loading…
Reference in New Issue