Calming vet about type aliases from other package

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
Upstream-commit: 5ce60217f1ba07015af72978e715a08259e2efc1
Component: engine
This commit is contained in:
Alexander Morozov
2015-01-14 14:01:36 -08:00
parent c664f952ef
commit 2c43314302
@@ -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,