Skip to content

Consider using Python Docker SDK instead of CLI? #251

@C-Loftus

Description

@C-Loftus

Thank you for the great work the team has done on this script.

I was wondering if it would be possible to use the Docker SDK directly in the Python script instead of requiring the docker cli. In a containerized environment it is easy to add an extra Python dependency and mount the docker socket, but it is a bit cumbersome to add the docker binary itself since:

  1. the docker binary is compiled and handling different architectures requires different downloads
  2. the docker binary is harder to debug and version compared to the python sdk which matches other python tooling

I think this was intended to be added in #19 but it may have fallen through during the other updates to the script.

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