mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Look for cpu subsystem instead of memory
Docker-DCO-1.1-Signed-off-by: Michael Crosby <michael@crosbymichael.com> (github: crosbymichael)
This commit is contained in:
parent
172260a49b
commit
a08e78a78c
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue