aiodocker
A simple Docker HTTP API wrapper written with asyncio and aiohttp.
Decision gist · record as of 2026-08-14
Yes. Low install friction, active maintenance, permissive license, no known vulnerabilities, and a clear use case for anyone building async Python applications that need to control Docker. The single dependency (aiohttp) is itself widely used and stable. Install if you're writing asyncio code and need Docker automation.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later and a running Docker daemon accessible via the Docker socket or HTTP endpoint.
- Low friction: pure Python wheel with a single runtime dependency (aiohttp).
- Actively maintained as of 79 days ago, supports current Python versions (3.10–3.13).
License · maintenance · safety
Apache 2.0 (permissive) — Apache 2.0 permissive license; you can use this in commercial and proprietary projects with minimal restrictions.
last release 2026-05-27 (79 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,448,642 downloads/mo, #3,887 on PyPI
Alternatives
Verify before relying
pip install aiodocker
import asyncio
import aiodocker
async def main():
docker = aiodocker.Docker()
images = await docker.images.list()
print(images)
await docker.close()
asyncio.run(main())- Whether the package works with Docker Desktop, Docker Engine, or both.
- Support for Docker API authentication methods beyond default socket/env configuration.
- Performance characteristics when managing large numbers of containers or images.
What it is and what it does
aiodocker is an asyncio-native wrapper around the Docker HTTP API, built on aiohttp. It lets you write non-blocking Python code to create, start, stop, and inspect containers and images, manage networks and volumes, and stream logs—all without blocking the event loop. The package exposes Docker's REST endpoints through a Pythonic async interface, so you can integrate Docker operations into concurrent applications like web servers, task queues, or orchestration tools.
The library is lightweight (a single wheel with one dependency) and actively maintained. It supports Python 3.10 through 3.13 and is permissively licensed under Apache 2.0. Use it when you need to automate Docker from async Python code—for example, spinning up test containers in a CI pipeline, managing microservices in a cloud application, or building deployment tooling that doesn't block other concurrent work.
Use it for
- Spin up and tear down Docker containers in async test fixtures or CI/CD pipelines.
- Build async orchestration or deployment tools that manage multiple containers concurrently.
- Stream container logs and monitor resource usage from an async web service or dashboard.
- Automate Docker image builds and pushes as part of a larger async workflow.
- Integrate Docker operations into async task queues or background job systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Low install friction, active maintenance, permissive license, no known vulnerabilities, and a clear use case for anyone building async Python applications that need to control Docker. The single dependency (aiohttp) is itself widely used and stable. Install if you're writing asyncio code and need Docker automation.
Install
aiodocker on PyPI
Before you install
Low friction: pure Python wheel with a single runtime dependency (aiohttp). Actively maintained as of 79 days ago, supports current Python versions (3.10–3.13).
Requires Python 3.10 or later and a running Docker daemon accessible via the Docker socket or HTTP endpoint.
License in practice
Apache 2.0 permissive license; you can use this in commercial and proprietary projects with minimal restrictions.
Quickstart
pip install aiodocker
import asyncio
import aiodocker
async def main():
docker = aiodocker.Docker()
images = await docker.images.list()
print(images)
await docker.close()
asyncio.run(main())
Verify before relying
- Whether the package works with Docker Desktop, Docker Engine, or both.
- Support for Docker API authentication methods beyond default socket/env configuration.
- Performance characteristics when managing large numbers of containers or images.
Package facts
| License | Apache 2.0 permissive |
| Python support | Supports the current Python release >=3.10.0 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageaiohttp |
| Maintenance | Actively maintained 79 days since the last release |
| First released | |
| Downloads | 1,448,642 / month, #3,887 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: aiodocker-0.27.0-py3-none-any.whl
Tags
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 › “async docker client”
- aiodockerProvides async/await bindings for the Docker HTTP API, letting you…
- harborapiAsync Python client for the Harbor container registry REST API v2.0,…
- mongomock-motorProvides an async mock client for MongoDB that mimics the…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also aioazuredevops · aioodbc · aiohttp-wsgi · aioopenexchangerates · aioqsw · aiohue · docker · aiooss2 · docker-py · pyatag