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:
parent
33ab2bb52c
commit
4b55765c11
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ func New() *configs.Config {
|
|||
{Type: "NEWUSER"},
|
||||
}),
|
||||
Cgroups: &configs.Cgroup{
|
||||
Parent: "docker",
|
||||
Parent: "/docker",
|
||||
AllowAllDevices: false,
|
||||
MemorySwappiness: -1,
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue