2.3.0
List of PRs / issues for this release
Features
- Added support for the following
HostConfig
parameters:volume_driver
,
cpu_count
,cpu_percent
,nano_cpus
,cpuset_mems
. - Added support for
verbose
parameter inAPIClient.inspect_network
and
DockerClient.networks.get
. - Added support for the
environment
parameter inAPIClient.exec_create
andContainer.exec_run
- Added
reload_config
method toAPIClient
, that lets the user reload
theconfig.json
data from disk. - Added
labels
property to theImage
andContainer
classes. - Added
image
property to theContainer
class.
Bugfixes
- Fixed a bug where setting
replicas
to zero inServiceMode
would not
register as a valid entry. - Fixed a bug where
DockerClient.images.build
would report a failure after
a successful build if atag
was set. - Fixed an issue where
DockerClient.images.pull
would fail to return the
corresponding image object if atag
was set. - Fixed a bug where a list of
mounts
provided toAPIClient.create_service
would sometimes be parsed incorrectly. - Fixed a bug where calling
Network.containers
would crash when no containers
were associated with the network. - Fixed an issue where
Network.connect
andNetwork.disconnect
would not
accept some of the documented parameters. - Fixed a bug where the
cpuset_cpus
parameter would not be properly set in
APIClient.create_host_config
.
Miscellaneous
- The invalid
networks
argument inDockerClient.containers.run
has been
replaced with a (working) singularnetwork
argument.