-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal: add --no-delete to runc run #2817
Comments
+1 |
Maybe |
Besides cgroup paths, we should keep runc state dir to allow us use |
It's very easy to implement. Please see #2825 . |
As described in #2825 (comment) |
runc run
is much more simple to use thancreate/start
async commands that are almost impossible to use safely without introducing a special shim-like binary to deal withSIGCHLD
reaper issues.One of the problems though is that when using
run
calling process can't get the full stats of the process because cgroups are already deleted when it returns. Could we consider adding--no-delete
option that leaves cgroups and other resources in place so the caller can analyze them and then callrunc delete
to do the manual cleanup.The text was updated successfully, but these errors were encountered: