Proposal: Use Docker Python SKD instead of CLI

Aperta
#921 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
docker, python
Ambito
devops

Direzione di ricerca

Parti da DockerExecutor e traccia il modo in cui invoca la docker CLI e riutilizza la gestione dei processi dell'Executor di base. Esamina il comportamento dei container basato su socket del Python Docker SDK e definisci l'ambito di compatibilità, dipendenze e implementazione; il lavoro è completato quando i maintainer concordano su un piano concreto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hello, I'd like to suggest replacing the docker CLI that's used by PyAirbyte with the Python Docker SDK and wanted to hear your opinion on that.

From what I see, DockerExecutor is the only place using it. The current implementation is rather minimal and reuses most of the process handling from the base Executor, but it requires a docker binary to be installed and available, and it pumps stdin from a subprocess call.

Instead, DockerExecutor could manage containers using the Python Docker SDK, which is a lightweight Python library and requires only the Docker socket to work.

I don't have anything concrete yet. I'm just looking around for options to reduce the size of dependencies, and the requirement for the docker binary may not be necessary. But I can handle the implementation of it.

Do you have any thoughts on this?

Lingua principale
Python
Stelle
343
Fork
77
Merge medio
1g 4h
PR unite (30g)
54

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di airbytehq/PyAirbyte

Tutte le issue di airbytehq/PyAirbyte

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.