Proposal: Use Docker Python SKD instead of CLI
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di airbytehq/PyAirbyte
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
Tutte le issue di airbytehq/PyAirbyte
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
PolicyEngine/policyengine-us#9559 ·