2.1.0
2.1.0
List of PRs / issues for this release
Features
- Added the following pruning methods:
- In
APIClient
:prune_containers
,prune_images
,prune_networks
,
prune_volumes
- In
DockerClient
:containers.prune
,images.prune
,networks.prune
,
volumes.prune
- In
- Added support for the plugins API:
- In
APIClient
:configure_plugin
,create_plugin
,disable_plugin
,
enable_plugin
,inspect_plugin
,pull_plugin
,plugins
,
plugin_privileges
,push_plugin
,remove_plugin
- In
DockerClient
:plugins.create
,plugins.get
,plugins.install
,
plugins.list
, and thePlugin
model.
- In
- Added support for the secrets API:
- In
APIClient
:create_secret
,inspect_secret
,remove_secret
,
secrets
- In
DockerClient
:secret.create
,secret.get
,secret.list
and
theSecret
model. - Added
secrets
parameter toContainerSpec
. Each item in thesecrets
list must be adocker.types.SecretReference
instance.
- In
- Added support for
cache_from
inAPIClient.build
and
DockerClient.images.build
. - Added support for
auto_remove
andstorage_opt
in
APIClient.create_host_config
andDockerClient.containers.run
- Added support for
stop_timeout
inAPIClient.create_container
and
DockerClient.containers.run
- Added support for the
force
parameter inAPIClient.remove_volume
and
Volume.remove
- Added support for
max_failure_ratio
andmonitor
inUpdateConfig
- Added support for
force_update
inTaskTemplate
- Made
name
parameter optional inAPIClient.create_volume
and
DockerClient.volumes.create
Bugfixes
- Fixed a bug where building from a directory containing socket-type files
would raise an unexpectedAttributeError
. - Fixed an issue that was preventing the
DockerClient.swarm.init
method to
take into account arguments passed to it. Image.tag
now correctly returns a boolean value upon completion.- Fixed several issues related to passing
volumes
in
DockerClient.containers.run
- Fixed an issue where
DockerClient.image.build
wouldn't return anImage
object even when the build was successful