From c2284962c798a11f3c956ee237f27cfd3b0fcb21 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Mon, 15 Jul 2019 16:44:56 -0400 Subject: Add support for launching containers without CGroups This is mostly used with Systemd, which really wants to manage CGroups itself when managing containers via unit file. Signed-off-by: Matthew Heon --- cmd/podman/common.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmd/podman/common.go') diff --git a/cmd/podman/common.go b/cmd/podman/common.go index 9724d18c6..0115e6ef1 100644 --- a/cmd/podman/common.go +++ b/cmd/podman/common.go @@ -134,6 +134,10 @@ func getCreateFlags(c *cliconfig.PodmanCommand) { "cgroupns", "host", "cgroup namespace to use", ) + createFlags.String( + "cgroups", "enabled", + "control container cgroup configuration", + ) createFlags.String( "cgroup-parent", "", "Optional parent cgroup for the container", -- cgit v1.2.3-54-g00ecf