summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@gmail.com>2018-05-07 14:44:38 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-05-11 14:43:57 +0000
commitb70f6cc04a831478b2c81094b6bfe80bfed6a687 (patch)
tree5e0329fcf0ae5cfd0e32cc8d26a28b9cea3da58f /libpod/container.go
parent853c5c41f1a0f65815674cce0777a20de24c8309 (diff)
downloadpodman-b70f6cc04a831478b2c81094b6bfe80bfed6a687.tar.gz
podman-b70f6cc04a831478b2c81094b6bfe80bfed6a687.tar.bz2
podman-b70f6cc04a831478b2c81094b6bfe80bfed6a687.zip
Place Conmon and Container in separate CGroups
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #507 Approved by: baude
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 6a48363c9..1e3b923c0 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -856,7 +856,7 @@ func (c *Container) NamespacePath(ns LinuxNS) (string, error) {
func (c *Container) CGroupPath() (string, error) {
switch c.runtime.config.CgroupManager {
case CgroupfsCgroupsManager:
- return filepath.Join(c.config.CgroupParent, fmt.Sprintf("libpod-conmon-%s", c.ID())), nil
+ return filepath.Join(c.config.CgroupParent, fmt.Sprintf("libpod-%s", c.ID()), "ctr"), nil
case SystemdCgroupsManager:
return filepath.Join(c.config.CgroupParent, createUnitName("libpod", c.ID())), nil
default: