proposal: add --keep to runc run

Signed-off-by: lifubang <lifubang@acmcoder.com>
This commit is contained in:
lifubang
2021-02-26 21:46:36 +08:00
committed by Kir Kolyshkin
parent 2aabb29741
commit cb824629ba
3 changed files with 64 additions and 1 deletions
+1 -1
View File
@@ -439,7 +439,7 @@ func startContainer(context *cli.Context, spec *specs.Spec, action CtAct, criuOp
r := &runner{
enableSubreaper: !context.Bool("no-subreaper"),
shouldDestroy: true,
shouldDestroy: !context.Bool("keep"),
container: container,
listenFDs: listenFDs,
notifySocket: notifySocket,