Browse Source

Merge pull request #18395 from LK4D4/default_cgroup_is_not_daemon

Use /docker as cgroup parent instead of docker
Jess Frazelle 9 years ago
parent
commit
ff69b23dc0
1 changed files with 1 additions and 1 deletions
  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,
 		},