Videos
I’ve been using the Docker Python SDK for a while, and it’s a fantastic tool - but I’ve noticed the GitHub repo has ~500 open issues (some from 5+ years ago) and ~90 unreviewed PRs, including small but impactful fixes.
I understand maintainers are volunteers, often busy, but it’s unusual to see such a critical project with so little activity. Does anyone know if there’s a reason for the slow review process? Is the team understaffed, or is there a shift in focus away from this SDK?
I’ve submitted a few changes myself, that would be helpful for my work, but they’ve been waiting for months. Just curious if there’s a way to help move things forward—maybe more contributors are needed?
Thanks for any insights!
I created a package to make this easy: python-on-whales
Install with
pip install python-on-whales
Then you can do
from python_on_whales import docker
docker.compose.up()
docker.compose.stop()
# and all the other commands.
You can find the source for the package in my GitHub repository: https://gabrieldemarmiesse.github.io/python-on-whales/
I am working on the same issue and was looking for answers, but nothing so far. The best shot I can give it is to simplify that docker-compose logic. For example, you have a YAML file with a network and services - create them separately using Python Docker SDK and connect containers to a network.
It gets cumbersome, but eventually you can get things working that way from Python.