mirror of https://github.com/docker/docs.git
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:
parent
33ab2bb52c
commit
4b55765c11
|
@ -37,7 +37,7 @@ func New() *configs.Config {
|
||||||
{Type: "NEWUSER"},
|
{Type: "NEWUSER"},
|
||||||
}),
|
}),
|
||||||
Cgroups: &configs.Cgroup{
|
Cgroups: &configs.Cgroup{
|
||||||
Parent: "docker",
|
Parent: "/docker",
|
||||||
AllowAllDevices: false,
|
AllowAllDevices: false,
|
||||||
MemorySwappiness: -1,
|
MemorySwappiness: -1,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue