2.3.0
2.3.0
List of PRs / issues for this release
Features
- Added support for the following
HostConfigparameters:volume_driver,
cpu_count,cpu_percent,nano_cpus,cpuset_mems. - Added support for
verboseparameter inAPIClient.inspect_networkand
DockerClient.networks.get. - Added support for the
environmentparameter inAPIClient.exec_create
andContainer.exec_run - Added
reload_configmethod toAPIClient, that lets the user reload
theconfig.jsondata from disk. - Added
labelsproperty to theImageandContainerclasses. - Added
imageproperty to theContainerclass.
Bugfixes
- Fixed a bug where setting
replicasto zero inServiceModewould not
register as a valid entry. - Fixed a bug where
DockerClient.images.buildwould report a failure after
a successful build if atagwas set. - Fixed an issue where
DockerClient.images.pullwould fail to return the
corresponding image object if atagwas set. - Fixed a bug where a list of
mountsprovided toAPIClient.create_service
would sometimes be parsed incorrectly. - Fixed a bug where calling
Network.containerswould crash when no containers
were associated with the network. - Fixed an issue where
Network.connectandNetwork.disconnectwould not
accept some of the documented parameters. - Fixed a bug where the
cpuset_cpusparameter would not be properly set in
APIClient.create_host_config.
Miscellaneous
- The invalid
networksargument inDockerClient.containers.runhas been
replaced with a (working) singularnetworkargument.