Add a flag to enable systemd cgroups support in runc

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
Mrunal Patel 2016-03-21 12:53:15 -07:00
parent 54a6e56004
commit 24142a8514
1 changed files with 4 additions and 0 deletions

View File

@ -79,6 +79,10 @@ func main() {
Value: "criu",
Usage: "path to the criu binary used for checkpoint and restore",
},
cli.BoolFlag{
Name: "systemd-cgroup",
Usage: "enable systemd cgroup support, expects cgroupsPath to be of form \"slice:prefix:name\" for e.g. \"system.slice:runc:434234\"",
},
}
app.Commands = []cli.Command{
checkpointCommand,