1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Use /docker as cgroup parent instead of docker

It means that containers will be created under root cgroup and not under
daemon cgroup.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-12-03 08:42:39 -08:00
parent 33ab2bb52c
commit 4b55765c11

View file

@ -37,7 +37,7 @@ func New() *configs.Config {
{Type: "NEWUSER"},
}),
Cgroups: &configs.Cgroup{
Parent: "docker",
Parent: "/docker",
AllowAllDevices: false,
MemorySwappiness: -1,
},