Skip to content
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

Using Runc as a go library? #134

Closed
sithembiso opened this issue Jul 16, 2015 · 2 comments
Closed

Using Runc as a go library? #134

sithembiso opened this issue Jul 16, 2015 · 2 comments

Comments

@sithembiso
Copy link

I notice that almost all functions within the main package are private. Is there any advice you can give for using Runc as a library inside another Go application?
If this isn't possible yet, should I repackage the core functions and make a pull request (in other words, is it in the project's interest to account for such use cases?)

@robinmonjo
Copy link

As far as I know, if you need a go library to create containers, you should use libcontainer, runc is meant to be an executable easy to orchestrate. Not sure if in the future docker will directly use runc or stick with libcontainer.
I guess runc can be seen as a reference on how to use libcontainer

@LK4D4
Copy link
Contributor

LK4D4 commented Jul 16, 2015

@sithembiso yes, @robinmonjo is right, libcontainer is underlying library for runc and you can use it too. Thanks for your interest!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants