2.7.0
List of PRs / issues for this release
Features
- Added
unlock_swarm
andget_unlock_key
methods to theAPIClient
.- Added
unlock
andget_unlock_key
toDockerClient.swarm
.
- Added
- Added a
greedy
parameter toDockerClient.networks.list
, yielding
additional details about the listed networks. - Added
cpu_rt_runtime
andcpu_rt_period
as parameters to
APIClient.create_host_config
andDockerClient.containers.run
. - Added the
order
argument toUpdateConfig
. - Added
fetch_current_spec
toAPIClient.update_service
andService.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
build
method tried to include inaccessible files
in the context, leading to obscure errors during the build phase
(inaccessible files inside the context now raise anIOError
instead). - Fixed a bug where the
build
method would try to read from FIFOs present
inside the build context, causing it to hang. APIClient.stop
will no longer override thestop_timeout
value present
in the container's configuration.- Fixed a bug preventing removal of networks with names containing a space.
- Fixed a bug where
DockerClient.containers.run
would crash if the
auto_remove
parameter was set toTrue
. - Changed the default value of
listen_addr
injoin_swarm
to 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 anAPIError
object.