2.6.0
List of PRs / issues for this release
Features
- Added support for
mountsinAPIClient.create_host_configand
DockerClient.containers.run - Added support for
consistency,tmpfs_sizeandtmpfs_modewhen
creating mount objects. Mountobjects now support thetmpfsandnpipetypes.- Added support for
extra_hostsin thebuildmethods. - Added support for the configs API:
- In
APIClient:create_config,inspect_config,remove_config,
configs - In
DockerClient:configs.create,configs.get,configs.listand
theConfigmodel. - Added
configsparameter toContainerSpec. Each item in theconfigs
list must be adocker.types.ConfigReferenceinstance.
- In
- Added support for the following parameters when creating a
ContainerSpec
object:groups,open_stdin,read_only,stop_signal,helathcheck,
hosts,ns_config,configs,privileges. - Added the following configuration classes to
docker.types:
ConfigReference,DNSConfig,Privileges,SwarmExternalCA. - Added support for
driverinAPIClient.create_secretand
DockerClient.secrets.create. - Added support for
scopeinAPIClient.inspect_networkand
APIClient.create_network, and theirDockerClientequivalent. - Added support for the following parameters to
create_swarm_spec:
external_cas,labels,signing_ca_cert,signing_ca_key,
ca_force_rotate,autolock_managers,log_driver. These additions
also apply toDockerClient.swarm.init. - Added support for
insert_defaultsinAPIClient.inspect_serviceand
DockerClient.services.get.
Bugfixes
- Fixed a bug where reading a 0-length frame in log streams would incorrectly
interrupt streaming. - Fixed a bug where the
idmember onSwarmobjects wasn't being populated. - Fixed a bug that would cause some data at the beginning of an upgraded
connection stream (attach,exec_run) to disappear.