Skip to content

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

Open
@N0K0

Description

@N0K0

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? :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions