Docker

Latest version: v7.1.0

Safety actively analyzes 693883 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 6 of 19

3.5.1

-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/54?closed=1)

Miscellaneous

* Bumped version of `pyOpenSSL` in `requirements.txt` and `setup.py` to prevent
installation of a vulnerable version

* Docs fixes

3.5.0

Not secure
-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/53?closed=1)

Deprecation warning

* Support for Python 3.3 will be dropped in the 4.0.0 release

Features

* Updated dependencies to ensure support for Python 3.7 environments
* Added support for the `uts_mode` parameter in `HostConfig`
* The `UpdateConfig` constructor now allows `rollback` as a valid
value for `failure_action`
* Added support for `rollback_config` in `APIClient.create_service`,
`APIClient.update_service`, `DockerClient.services.create` and
`Service.update`.

Bugfixes

* Credential helpers are now properly leveraged by the `build` method
* Fixed a bug that caused placement preferences to be ignored when provided
to `DockerClient.services.create`
* Fixed a bug that caused a `user` value of `0` to be ignored in
`APIClient.create_container` and `DockerClient.containers.create`

3.4.1

Not secure
-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/52?closed=1)

Bugfixes

* Fixed a bug that caused auth values in config files written using one of the
legacy formats to be ignored
* Fixed issues with handling of double-wildcard `**` patterns in
`.dockerignore` files

3.4.0

Not secure
-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/51?closed=1)

Features

* The `APIClient` and `DockerClient` constructors now accept a `credstore_env`
parameter. When set, values in this dictionary are added to the environment
when executing the credential store process.

Bugfixes

* `DockerClient.networks.prune` now properly returns the operation's result
* Fixed a bug that caused custom Dockerfile paths in a subfolder of the build
context to be invalidated, preventing these builds from working
* The `plugin_privileges` method can now be called for plugins requiring
authentication to access
* Fixed a bug that caused attempts to read a data stream over an unsecured TCP
socket to crash on Windows clients
* Fixed a bug where using the `read_only` parameter when creating a service using
the `DockerClient` was being ignored
* Fixed an issue where `Service.scale` would not properly update the service's
mode, causing the operation to fail silently

3.3.0

Not secure
-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/49?closed=1)

Features

* Added support for `prune_builds` in `APIClient` and `DockerClient.images`
* Added support for `ignore_removed` parameter in
`DockerClient.containers.list`

Bugfixes

* Fixed an issue that caused builds to fail when an in-context Dockerfile
would be specified using its absolute path
* Installation with pip 10.0.0 and above no longer fails
* Connection timeout for `stop` and `restart` now gets properly adjusted to
allow for the operation to finish in the specified time
* Improved docker credential store support on Windows

3.2.1

Not secure
-----

[List of PRs / issues for this release](https://github.com/docker/docker-py/milestone/50?closed=1)

Bugfixes

* Fixed a bug with builds not properly identifying Dockerfile paths relative
to the build context
* Fixed an issue where builds would raise a `ValueError` when attempting to
build with a Dockerfile on a different Windows drive.

Page 6 of 19

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.