浏览代码

Merge pull request #18395 from LK4D4/default_cgroup_is_not_daemon

Use /docker as cgroup parent instead of docker
Jess Frazelle 9 年之前
父节点
当前提交
ff69b23dc0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/execdriver/native/template/default_template_linux.go

+ 1 - 1
daemon/execdriver/native/template/default_template_linux.go

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