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 thePluginmodel.
- In
- Added support for the secrets API:
- In
APIClient:create_secret,inspect_secret,remove_secret,
secrets - In
DockerClient:secret.create,secret.get,secret.listand
theSecretmodel. - Added
secretsparameter toContainerSpec. Each item in thesecrets
list must be adocker.types.SecretReferenceinstance.
- In
- Added support for
cache_frominAPIClient.buildand
DockerClient.images.build. - Added support for
auto_removeandstorage_optin
APIClient.create_host_configandDockerClient.containers.run - Added support for
stop_timeoutinAPIClient.create_containerand
DockerClient.containers.run - Added support for the
forceparameter inAPIClient.remove_volumeand
Volume.remove - Added support for
max_failure_ratioandmonitorinUpdateConfig - Added support for
force_updateinTaskTemplate - Made
nameparameter optional inAPIClient.create_volumeand
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.initmethod to
take into account arguments passed to it. Image.tagnow correctly returns a boolean value upon completion.- Fixed several issues related to passing
volumesin
DockerClient.containers.run - Fixed an issue where
DockerClient.image.buildwouldn't return anImage
object even when the build was successful