From a08e78a78c4b548919515fa7910db56990ef44dc Mon Sep 17 00:00:00 2001 From: Michael Crosby Date: Mon, 24 Feb 2014 10:46:20 -0800 Subject: [PATCH] Look for cpu subsystem instead of memory Docker-DCO-1.1-Signed-off-by: Michael Crosby (github: crosbymichael) --- pkg/cgroups/cgroups.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cgroups/cgroups.go b/pkg/cgroups/cgroups.go index 96002f0af9..e260d67661 100644 --- a/pkg/cgroups/cgroups.go +++ b/pkg/cgroups/cgroups.go @@ -132,7 +132,7 @@ func (c *Cgroup) Apply(pid int) error { // http://www.freedesktop.org/wiki/Software/systemd/PaxControlGroups/ // // we can pick any subsystem to find the root - cgroupRoot, err := FindCgroupMountpoint("memory") + cgroupRoot, err := FindCgroupMountpoint("cpu") if err != nil { return err }