$npx skillfedfor your agent

docker-py

Python client for Docker.

With conditionsPyPI UtilitiesReleased Nov 20161.1M downloads / moUNKNOWNPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — docker_py-1.10.6-py2.py3-none-any.whl
v1.10.6 · released 2016-11-02

Yes, if you need to control Docker from Python and your environment supports the Docker daemon. The library is lightweight, permissively licensed, and actively maintained. However, verify that this is still the recommended Docker client for your Python version—the latest PyPI release is from 2016, and the modern Docker Python client may have a different package name or location.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a running Docker daemon accessible to the Python process; connection details may need configuration depending on your Docker setup.
  • Low install friction with no runtime dependencies.
  • The package is actively maintained with recent commits, though the latest PyPI release dates to 2016-11-02; the repository itself shows ongoing activity as of 2026-08-13.

License · maintenance · safety

UNKNOWN (permissive) — Licensed under Apache License, Version 2.0 (permissive), which allows commercial and private use with minimal restrictions—suitable for most projects.

last release 2016-11-02 (3572 days) · last repo commit 2026-08-13 · 7,209 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,074,698 downloads/mo, #4,405 on PyPI

Verify before relying

pip install docker-py

import docker
client = docker.Client()
containers = client.containers()
  • Whether this package is still the recommended Docker client for Python (the modern package may be named differently).
  • Current Python version support—classifiers list Python 2.6–3.5, but requires_python is unspecified and the latest release is from 2016.
Same gist for agents: .md · .json

What it is and what it does

docker-py is a Python wrapper around the Docker Remote API that lets you manage containers, images, and other Docker resources from Python code instead of shell commands. It exposes the same operations available in the docker CLI—starting and stopping containers, pulling and pushing images, inspecting logs, managing networks—but as Python method calls. The library has no runtime dependencies, making it lightweight to install.

The package is actively maintained and widely used (top 5000 on PyPI with over 1 million monthly downloads), though the latest release on PyPI dates to 2016. It carries no known security vulnerabilities and is licensed permissively under Apache 2.0, making it safe for commercial use.

Use it for

  • Automate container orchestration and lifecycle management (start, stop, restart) from Python applications.
  • Build deployment tools or CI/CD pipelines that programmatically manage Docker containers and images.
  • Monitor and inspect running containers, logs, and resource usage from Python monitoring scripts.
  • Pull and push Docker images to registries as part of automated build or release workflows.
  • Test Python applications by spinning up and tearing down containerized services in test suites.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to control Docker from Python and your environment supports the Docker daemon.

The library is lightweight, permissively licensed, and actively maintained. However, verify that this is still the recommended Docker client for your Python version—the latest PyPI release is from 2016, and the modern Docker Python client may have a different package name or location.

Install

docker-py on PyPI

Before you install

Low install friction with no runtime dependencies. The package is actively maintained with recent commits, though the latest PyPI release dates to 2016-11-02; the repository itself shows ongoing activity as of 2026-08-13.

Requires a running Docker daemon accessible to the Python process; connection details may need configuration depending on your Docker setup.

License in practice

Licensed under Apache License, Version 2.0 (permissive), which allows commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

pip install docker-py

import docker
client = docker.Client()
containers = client.containers()

Verify before relying

  • Whether this package is still the recommended Docker client for Python (the modern package may be named differently).
  • Current Python version support—classifiers list Python 2.6–3.5, but requires_python is unspecified and the latest release is from 2016.

Package facts

LicenseUNKNOWN permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 3,572 days since the last release
Last repo commit
First released
Downloads1,074,698 / month, #4,405 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaEnvironment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Topic :: Utilities

Evidence: docker_py-1.10.6-py2.py3-none-any.whl

Tags

Capabilities
docker python clientprogrammatic docker controldocker container management pythondocker remote api pythonautomate docker with pythondocker image pull push pythonrun containers from python
Topics
dockercontainer-orchestrationdevops

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “docker remote api python”

  • docker-pyA Python client library that lets you control Docker containers,…
  • prime-sandboxesPython SDK for creating, managing, and executing code in remote Prime…
  • opensandboxOpenSandbox SDK provides low-level Python bindings to create, manage,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also docker · pylxd · python-on-whales · docker-pycreds · pipmaster · podman · dockerpty · pyTenable · python-digitalocean · spython