Docker

Latest version: v7.0.0

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

Scan your dependencies

Page 7 of 15

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.

3.2.0

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

Features

* Generators returned by `attach()`, `logs()` and `events()` now have a
`cancel()` method to let consumers stop the iteration client-side.
* `build()` methods can now handle Dockerfiles supplied outside of the
build context.
* Added `sparse` argument to `DockerClient.containers.list()`
* Added `isolation` parameter to `build()` methods.
* Added `close()` method to `DockerClient`
* Added `APIClient.inspect_distribution()` method and
`DockerClient.images.get_registry_data()`
* The latter returns an instance of the new `RegistryData` class

3.1.4

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

Bugfixes

* Fixed a bug where build contexts containing directory symlinks would produce
invalid tar archives

Page 7 of 15

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.