Consider using the Docker/Podman API instead of subprocess?

Đang mở
#774 0 bình luận 3 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
docker, python

Hướng nghiên cứu

No files, tests, or entry points are named. Start by reviewing the current subprocess-based Docker/Podman integration and the linked Docker SDK examples, then compare API options including request, httpx, and native Python. Done criteria are not specified and would need maintainer agreement.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
2.5k
Fork
358
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của pytest-dev/pytest-testinfra

Tất cả issue của pytest-dev/pytest-testinfra

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.