4.0.0
List of PRs / issues for this release
Breaking changes
- Support for Python 3.3 and Python 3.4 has been dropped
APIClient.update_service
,APIClient.init_swarm
, and
DockerClient.swarm.init
now return adict
from the API's response body- In
APIClient.build
andDockerClient.images.build
, theuse_config_proxy
parameter now defaults to True init_path
is no longer a valid parameter forHostConfig
Features
- It is now possible to provide
SCTP
ports for port mappings ContainerSpec
s now support theinit
parameterDockerClient.swarm.init
andAPIClient.init_swarm
now support the
data_path_addr
parameterAPIClient.update_swarm
andDockerClient.swarm.update
now support the
rotate_manager_unlock_key
parameterAPIClient.update_service
returns the API's response body as adict
APIClient.init_swarm
, andDockerClient.swarm.init
now return the API's
response body as adict
Bugfixes
- Fixed
PlacementPreference
instances to produce a valid API type - Fixed a bug where not setting a value for
buildargs
inbuild
could cause
the library to attempt accessing attributes of aNone
value - Fixed a bug where setting the
volume_driver
parameter in
DockerClient.containers.create
would result in an error APIClient.inspect_distribution
now correctly sets the authentication
headers on the request, allowing it to be used with private repositories
This change also applies toDockerClient.get_registry_data