List of PRs / issues for this release
Features
- Added support for the
target
andnetwork_mode
parameters in
APIClient.build
andDockerClient.images.build
. - Added support for the
runtime
parameter inAPIClient.create_container
andDockerClient.containers.run
. - Added support for the
ingress
parameter inAPIClient.create_network
and
DockerClient.networks.create
. - Added support for
placement
configuration indocker.types.TaskTemplate
. - Added support for
tty
configuration indocker.types.ContainerSpec
. - Added support for
start_period
configuration indocker.types.Healthcheck
. - The
credHelpers
section in Docker's configuration file is now recognized. - Port specifications including IPv6 endpoints are now supported.
Bugfixes
- Fixed a bug where instantiating a
DockerClient
usingdocker.from_env
wouldn't correctly set the default timeout value. - Fixed a bug where
DockerClient.secrets
was not accessible as a property. - Fixed a bug where
DockerClient.build
would sometimes return the wrong
image. - Fixed a bug where values for
HostConfig.nano_cpus
exceeding 2^32 would
raise a type error. Image.tag
now properly returnsTrue
when the operation is successful.APIClient.logs
andContainer.logs
now raise an exception if thesince
argument uses an unsupported type instead of ignoring the value.- Fixed a bug where some methods would raise a
NullResource
exception when
the resource ID was provided using a keyword argument.
Miscellaneous
APIClient
instances can now be pickled.