Contents

docker 7.0.0

0

A Python library for the Docker Engine API.

A Python library for the Docker Engine API.

Stars: 6612, Watchers: 6612, Forks: 1658, Open Issues: 463

The docker/docker-py repo was created 10 years ago and the last code push was Yesterday.
The project is extremely popular with a mindblowing 6612 github stars!

How to Install docker

You can install docker using pip

pip install docker

or add it to a project with poetry

poetry add docker

Package Details

Author
License
Apache License 2.0
Homepage
https://github.com/docker/docker-py
PyPi:
https://pypi.org/project/docker/
Documentation:
https://docker-py.readthedocs.io
GitHub Repo:
https://github.com/docker/docker-py

Classifiers

  • Software Development
  • Utilities
No  docker  pypi packages just yet.

Errors

A list of common docker errors.

Code Examples

Here are some docker code examples and snippets.

GitHub Issues

The docker package has 463 open issues on GitHub

  • Bump pywin32 version in setup.py, 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 client.containers.run()
  • 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 containers.run/containers.create
  • Add gzip documentation to BuildApiMixin

See more issues on GitHub