🌐
GitHub
github.com › docker › docker-py
GitHub - docker/docker-py: A Python library for the Docker Engine API · GitHub
A Python library for the Docker Engine API. Contribute to docker/docker-py development by creating an account on GitHub.
Starred by 7.2K users
Forked by 1.7K users
Languages   Python
Discussions

Docker Python SDK Maintenance: What’s the Story?
Well the primary language to program docker itself is go. Then there is docker compose which allows users to configure containers to form an application stack. From there on one can use ansible for further automation. So I assume most people simply don't have a direct use case to use python to programmatically use docker. And the other thing is that docker itself is pretty mature. So once the sdk reaches a level where most or all API calls are implemented there is simply not much to work on besides bugs. I am curious: how are you using that sdk? Best regards! More on reddit.com
🌐 r/docker
6
0
May 16, 2025
Python Docker SDK - Stack Overflow
So my aim is from python, build a docker image and then run the image in a container. I'm able to build the image and then run the container however the container is returning the following '/bin/... More on stackoverflow.com
🌐 stackoverflow.com
Issue with Python Docker SDK
Yeah, I just started seeing this on the CI for one of my projects: https://app.circleci.com/pipelines/github/simplistix/testservices/530/workflows/a5bd922a-beb0-4aa7-9efc-db1c78fa1abf/jobs/3804 Seems like a new thing as of about a day ago :-/ Looks like a bug in docker-py caused by a new release of the requests library: https://github.com/docker/docker-py/issues/3256 pin the requests package to <2.32 should fix it. More on reddit.com
🌐 r/docker
8
7
May 21, 2024
Python Docker SDK error: invalid proto, expected tcp
I am facing this error whenever I try to use docker unable to resolve docker endpoint: Invalid proto, expected tcp: http://127.0.0.1:5000 More on forums.docker.com
🌐 forums.docker.com
4
0
March 14, 2024
🌐
Docker Docs
docs.docker.com › reference › docker engine api › sdk
SDK | Docker Docs
Docker provides an API for interacting with the Docker daemon (called the Docker Engine API), as well as SDKs for Go and Python. The SDKs allow you to efficiently build and scale Docker apps and solutions.
🌐
Docker Docs
docs.docker.com › reference › docker engine api › sdk › examples
Examples | Docker Docs
The Python SDK retrieves authentication information from the credentials store file and integrates with credential helpers. It's possible to override these credentials, but that's out of scope for this example guide.
🌐
Medium
medium.com › @pradeepkr848115 › docker-python-library-a-comprehensive-guide-79dedaf0a0aa
Docker Python Library: A Comprehensive Guide | by Pradeep Kumar | Medium
February 16, 2024 - Docker is a popular platform used to develop, ship, and run applications within containers. The Docker Python library, also known as docker-py, is a Python SDK for the Docker Engine API.
🌐
PyPI
pypi.org › project › docker-py
docker-py · PyPI
A Python library for the Docker Remote API.
      » pip install docker-py
    
Published   Nov 02, 2016
Version   1.10.6
🌐
Docker Docs
docs.docker.com › reference › docker engine api
Docker Engine API | Docker Docs
Docker provides an API for interacting with the Docker daemon (called the Docker Engine API), as well as SDKs for Go and Python. The SDKs allow you to efficiently build and scale Docker apps and solutions.
Find elsewhere
🌐
Reddit
reddit.com › r/docker › docker python sdk maintenance: what’s the story?
r/docker on Reddit: Docker Python SDK Maintenance: What’s the Story?
May 16, 2025 -

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!

🌐
Python
python.org › downloads
Download Python | Python.org
Want to help test development versions of Python 3.15? Pre-releases, Docker images · Join us in Long Beach, CA starting May 13, 2026. Grab your ticket and discounted hotel today before they’re gone! REGISTER FOR PYCON US! For more information visit the Python Developer's Guide.
🌐
Stack Overflow
stackoverflow.com › questions › 52001863 › python-docker-sdk
Python Docker SDK - Stack Overflow
FROM frolvlad/alpine-python2 MAINTAINER Ryan Woods <[email protected]> COPY . . RUN pip install -r requirements.txt CMD ['python', '-c', 'parser.py']
🌐
OneUptime
oneuptime.com › home › blog › how to use python docker sdk (docker-py) for automation
How to Use Python Docker SDK (docker-py) for Automation
February 8, 2026 - You can manage containers, images, networks, and volumes with clean Python code instead of parsing command output. This guide covers practical examples of using docker-py for real automation tasks. ... # Install the Docker SDK pip install docker # Verify the installation python -c "import docker; client = docker.from_env(); print(client.version())"
🌐
LiteLLM
docs.litellm.ai
LiteLLM - Getting Started | liteLLM
LiteLLM Python SDK · Basic usage · Response Format (OpenAI Chat Completions Format) Responses API · Streaming · Streaming Response Format (OpenAI Format) Exception handling · Logging Observability - Log LLM Input/Output (Docs) Track Costs, Usage, Latency for streaming · LiteLLM Proxy Server (LLM Gateway) 📖 Proxy Endpoints - Swagger Docs · Quick Start Proxy - CLI · Step 1. CREATE config.yaml · Step 2. RUN Docker Image ·
🌐
Docker Community
forums.docker.com › general
Python Docker SDK error: invalid proto, expected tcp - General - Docker Community Forums
March 14, 2024 - I am facing this error whenever I try to use docker unable to resolve docker endpoint: Invalid proto, expected tcp: http://127.0.0.1:5000
🌐
PyPI
pypi.org › project › docker-sdk
docker-sdk · PyPI
August 15, 2024 - Develop with Docker Engine SDKs Docker provides an API for interacting with the Docker daemon (called the Docker Engine API), as well as SDKs for Go and Python. The SDKs allow you to efficiently build and scale Docker apps and solutions.
      » pip install docker-sdk
    
Published   Aug 15, 2024
Version   1.0.4
🌐
GitHub
github.com › abiosoft › colima › issues › 468
Python Docker SDK cannot create client from_env · Issue #468 · abiosoft/colima
November 8, 2022 - Description After switching from Docker Desktop to Colima, tooling written in Python which creates a Docker client using from_env() fails with the following error: Error connecting to Docker: Error while fetching server API version: ('Co...
Author   adrianmace
🌐
Docker Community
forums.docker.com › general
Docker SDK for python - General - Docker Community Forums
July 8, 2020 - I have been using the docker sdk for python sometime now and its pretty fun. i have a script that checks whether a container is up or down and sends an email notification to myself based on the container’s state. Im using python schedule library to run the application the script every 1 minute ...
🌐
Development Containers
containers.dev › features
Features
Development containers documentation and specification page.