-
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
Process.Init = true for the first process #1957
Comments
Probably, yes (and feel free to send a PR). However, we really don't recommend using |
The first process launched in the container should set Init flag to true. otherwise the process won't be contained to configured namespace
pull req: 1958 @cyphar at hackerrank we execute user submitted code. runc is a cli app and we prefer a project with language bindings to create the containerised language runtimes. Can you point to other projects with libcontainer kind of api we should explore? thx for all ur work on rootless containers, btw. It was a pleasure to read ur code. |
The first process launched in the container should set Init flag to true. otherwise the process won't be contained to configured namespace Signed-off-by: Mahesh Tiyyagura <[email protected]>
I had to read the source code to debug why the process i start via container.Start() was not contained into the configured name spaces.
Is it expected that the first Process launched in the container have Init set to true?
If so, i can raise a PR on README.md to save others from having to read nsenter.c ;)
The text was updated successfully, but these errors were encountered: