docker-py 1.10.6


Python client for Docker.

Python client for Docker.

Stars: 6728, Watchers: 6728, Forks: 1662, Open Issues: 476

The docker/docker-py repo was created 11 years ago and the last code push was 1 weeks ago.
The project is extremely popular with a mindblowing 6728 github stars!

How to Install docker-py

You can install docker-py using pip

pip install docker-py

or add it to a project with poetry

poetry add docker-py

Package Details

Joffrey F
GitHub Repo:


  • Utilities
No  docker-py  pypi packages just yet.


A list of common docker-py errors.

Code Examples

Here are some docker-py code examples and snippets.

GitHub Issues

The docker-py package has 476 open issues on GitHub

  • Bump pywin32 version in, update in requirements.txt
  • Create/run container with image defined with SDK
  • refactoring code with Dictionary Comprehension
  • test_create_with_device_cgroup_rules: don't check devices.list
  • CreateContainerTest::test_create_with_device_cgroup_rules fails on cgroups v2
  • New(er) Alpine builds of ruby have permission issue installing bundler when running Docker-in-Docker
  • Fix "Error connecting: 'SSHHTTPAdapter' object has no attribute 'ssh_conf'"
  • I do not see the log
  • Passing secrets to
  • Implementation of compose v2 into this library
  • Fix for adding static code analyzes to PR and merge process
  • Fix for CWE-295: Improper Certificate Validation
  • Use packaging instead of distutils for Version
  • Support cgroupns option in
  • Add gzip documentation to BuildApiMixin

See more issues on GitHub

Related Packages & Articles