mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-10 21:53:57 +08:00
Merge pull request #2825 from lifubang/nodelete
proposal: add --keep to runc run
This commit is contained in:
@@ -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).
|
||||
|
||||
Reference in New Issue
Block a user