Merge pull request #2825 from lifubang/nodelete

proposal: add --keep to runc run
This commit is contained in:
Sebastiaan van Stijn
2021-08-31 10:04:58 +02:00
committed by GitHub
4 changed files with 70 additions and 1 deletions
+6
View File
@@ -42,6 +42,12 @@ container to inherit the calling processes session key.
: Pass _N_ additional file descriptors to the container (**stdio** +
**$LISTEN_FDS** + _N_ in total). Default is **0**.
**--keep**
: Keep container's state directory and cgroup. This can be helpful if a user
wants to check the state (e.g. of cgroup controllers) after the container has
exited. If this option is used, a manual **runc delete** is needed afterwards
to clean an exited container's artefacts.
# SEE ALSO
**runc**(8).