mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
proposal: add --keep to runc run
Signed-off-by: lifubang <lifubang@acmcoder.com>
This commit is contained in:
+1
-1
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user