Calming vet about type aliases from other package
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
f67c6d313b
commit
5ce60217f1
1 changed files with 2 additions and 2 deletions
|
@ -25,13 +25,13 @@ func New() *libcontainer.Config {
|
|||
"KILL",
|
||||
"AUDIT_WRITE",
|
||||
},
|
||||
Namespaces: libcontainer.Namespaces{
|
||||
Namespaces: libcontainer.Namespaces([]libcontainer.Namespace{
|
||||
{Type: "NEWNS"},
|
||||
{Type: "NEWUTS"},
|
||||
{Type: "NEWIPC"},
|
||||
{Type: "NEWPID"},
|
||||
{Type: "NEWNET"},
|
||||
},
|
||||
}),
|
||||
Cgroups: &cgroups.Cgroup{
|
||||
Parent: "docker",
|
||||
AllowAllDevices: false,
|
||||
|
|
Loading…
Reference in a new issue