summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
authorJhon Honce <jhonce@redhat.com>2018-02-20 10:29:41 -0700
committerAtomic Bot <atomic-devel@projectatomic.io>2018-02-22 12:39:08 +0000
commit3f004df38482e0f66bde5cc78028d57d52219997 (patch)
tree73ca602de3b3953e583ae82296d5d793fad0606a /libpod/container.go
parentf1f0f37dc142dc1687df1750c0d8c8fe1f79111a (diff)
downloadpodman-3f004df38482e0f66bde5cc78028d57d52219997.tar.gz
podman-3f004df38482e0f66bde5cc78028d57d52219997.tar.bz2
podman-3f004df38482e0f66bde5cc78028d57d52219997.zip
Implement podman run option --cgroup-parent
Example: sudo /usr/local/bin/podman run --cgroup-parent=/zzz fedora cat /proc/self/cgroup Signed-off-by: Jhon Honce <jhonce@redhat.com> Closes: #370 Approved by: rhatdan
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 d3a58d904..469b4180d 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -38,7 +38,7 @@ const (
)
// CgroupParent is the default prefix to a cgroup path in libpod
-var CgroupParent = "/libpod_parent"
+var DefaultCgroupParent = "/libpod_parent"
// LinuxNS represents a Linux namespace
type LinuxNS int