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

Consider using the Docker/Podman API instead of subprocess? #774

Open
N0K0 opened this issue Aug 6, 2024 · 0 comments
Open

Consider using the Docker/Podman API instead of subprocess? #774

N0K0 opened this issue Aug 6, 2024 · 0 comments

Comments

@N0K0
Copy link

N0K0 commented Aug 6, 2024

Hi! Docker has a REST API which is Podman also supports.
Using the API would remove an unnecessary dependency on the CLI.

Here are some examples of the official SDK.
https://docs.docker.com/engine/api/sdk/examples/

Its also possible to use request/httpx/native python is that is preferred?

Would a PR with this improvement we of 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

1 participant