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.initnow return adictfrom the API's response body- In
APIClient.buildandDockerClient.images.build, theuse_config_proxy
parameter now defaults to True init_pathis no longer a valid parameter forHostConfig
Features
- It is now possible to provide
SCTPports for port mappings ContainerSpecs now support theinitparameterDockerClient.swarm.initandAPIClient.init_swarmnow support the
data_path_addrparameterAPIClient.update_swarmandDockerClient.swarm.updatenow support the
rotate_manager_unlock_keyparameterAPIClient.update_servicereturns the API's response body as adictAPIClient.init_swarm, andDockerClient.swarm.initnow return the API's
response body as adict
Bugfixes
- Fixed
PlacementPreferenceinstances to produce a valid API type - Fixed a bug where not setting a value for
buildargsinbuildcould cause
the library to attempt accessing attributes of aNonevalue - Fixed a bug where setting the
volume_driverparameter in
DockerClient.containers.createwould result in an error APIClient.inspect_distributionnow correctly sets the authentication
headers on the request, allowing it to be used with private repositories
This change also applies toDockerClient.get_registry_data