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

Use libpod instead of requiring external podman binary #1142

Open
mohit-marathe opened this issue Jan 31, 2024 · 1 comment · May be fixed by #1101
Open

Use libpod instead of requiring external podman binary #1142

mohit-marathe opened this issue Jan 31, 2024 · 1 comment · May be fixed by #1101
Labels
needs investigation Requires more discussion and thought before it can be solved.

Comments

@mohit-marathe
Copy link

Is your feature request related to a problem? Please describe.
Unlike dockerengine.go, podmanengine.go does not uses API. It instead uses exec.Command which requires podman binary to perform any operation.

Describe the solution you'd like
Use libpod

Additional context
#599 (comment)

@Sanket-0510
Copy link
Contributor

Sanket-0510 commented Feb 1, 2024

Hey as per my understanding we can use libpod's library for the following:

  1. Inspecting image using pod.InspectImage(<image_name>.
  2. libpod's Imagepull function to pull the image
  3. there is a function name createContainer to create and run the container.

@mohit-marathe I would like to take this issue.

@HarikrishnanBalagopal HarikrishnanBalagopal added the needs investigation Requires more discussion and thought before it can be solved. label Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs investigation Requires more discussion and thought before it can be solved.
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

3 participants