2.7.0
List of PRs / issues for this release
Features
- Added
unlock_swarmandget_unlock_keymethods to theAPIClient.- Added
unlockandget_unlock_keytoDockerClient.swarm.
- Added
- Added a
greedyparameter toDockerClient.networks.list, yielding
additional details about the listed networks. - Added
cpu_rt_runtimeandcpu_rt_periodas parameters to
APIClient.create_host_configandDockerClient.containers.run. - Added the
orderargument toUpdateConfig. - Added
fetch_current_spectoAPIClient.update_serviceandService.update
that will retrieve the current configuration of the service and merge it with
the provided parameters to determine the new configuration.
Bugfixes
- Fixed a bug where the
buildmethod tried to include inaccessible files
in the context, leading to obscure errors during the build phase
(inaccessible files inside the context now raise anIOErrorinstead). - Fixed a bug where the
buildmethod would try to read from FIFOs present
inside the build context, causing it to hang. APIClient.stopwill no longer override thestop_timeoutvalue present
in the container's configuration.- Fixed a bug preventing removal of networks with names containing a space.
- Fixed a bug where
DockerClient.containers.runwould crash if the
auto_removeparameter was set toTrue. - Changed the default value of
listen_addrinjoin_swarmto match the
one ininit_swarm. - Fixed a bug where handling HTTP errors with no body would cause an unexpected
exception to be thrown while generating anAPIErrorobject.