-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
What should I import to use API ? #3343
Comments
To confirm, we're talking about the Golang API, not the Varlink one, correct? For the Go API: Our core API functions live in Also note that any code calling into Libpod via the Go API must contain the following bit of code somewhere early in main (necessary to make containers/storage work properly): |
@baude I'm fairly certain this one is Varlink, though. There's no CreateContainer endpoint in the Go code, we call it |
@redcap52 maybe you want to have a look at my related question in #3445 I endet up with this working example program:
@baude it would be nice to have some small api example like this in the docs, what do you think? |
@redcap52 re-open as needed. |
In your docs you said that you have an API for Golang. So, what path should I import to use CreateContainer() method ?
The text was updated successfully, but these errors were encountered: