Docker

Latest version: v7.1.0

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

Scan your dependencies

Page 7 of 19

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

3.1.3

Not secure
-----

Bugfixes

* Regenerated invalid wheel package

3.1.2

Not secure
-----

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

Bugfixes

* Fixed a bug that led to a Dockerfile not being included in the build context
in some situations when the Dockerfile's path was prefixed with `./`

3.1.1

Not secure
-----

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

Bugfixes

* Fixed a bug that caused costly DNS lookups on Mac OSX when connecting to the
engine through UNIX socket
* Fixed a bug that caused `.dockerignore` comments to be read as exclusion
patterns

3.1.0

Not secure
-----

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

Features

* Added support for `device_cgroup_rules` in host config
* Added support for `generic_resources` when creating a `Resources`
object.
* Added support for a configurable `chunk_size` parameter in `export`,
`get_archive` and `get_image` (`Image.save`)
* Added a `force_update` method to the `Service` class.
* In `Service.update`, when the `force_update` parameter is set to `True`,
the current `force_update` counter is incremented by one in the update
request.

Bugfixes

* Fixed a bug where authentication through `login()` was being ignored if the
SDK was configured to use a credential store.
* Fixed a bug where download methods would use an absurdly small chunk size,
leading to slow data retrieval
* Fixed a bug where using `DockerClient.images.pull` to pull an image by digest
would lead to an exception being raised.
* `.dockerignore` rules should now be respected as defined by the spec,
including respect for last-line precedence and proper handling of absolute
paths
* The `pass` credential store is now properly supported.

Page 7 of 19

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.