A Python library for the Docker Engine API
APACHE-2.0 License
Bot releases are visible (Hide)
Published by shin- almost 8 years ago
List of PRs / issues for this release
Mount.parse_mount_string
would never set the read_onlyMount
.Mount.parse_mount_string
would incorrectly mark hostvolume
type.Published by shin- almost 8 years ago
List of PRs / issues for this release
docker.Client
has been renamed to docker.APIClient
docker.from_env
now creates a DockerClient
instance instead of anAPIClient
instance.APIClient.start
pip
package is now docker
(was: docker-py
). Newdocker
from now on.docker.ssladapter
is now docker.transport.ssladapter
docker.auth
and docker.utils.ports
docker.utils.types
has been moved to docker.types
create_host_config
, create_ipam_pool
and create_ipam_config
have beendocker.utils
. They have been replaced by the following classesdocker.types
: HostConfig
, IPAMPool
and IPAMCOnfig
.docker.DockerClient
. See theupdate_node
method in APIClient
.remove_node
method in APIClient
.restart_policy
in update_container
.labels
and shmsize
in build
.attachable
in create_network
healthcheck
in create_container
.isolation
in HostConfig
.pid_mode
in HostConfig
(now supports arbitraryoptions
in IPAMConfig
HealthCheck
class to docker.types
to be used increate_container
.EndpointSpec
class to docker.types
to be used increate_service
and update_service
.build
if the client used a credentials store.build
.build
on Windows.networks
in create_service
andupdate_service
wouldn't be properly converted for the engine.endpoint_config
in create_service
andupdate_service
would be ignored.endpoint_config
in create_service
and update_service
has beenendpoint_spec
constraints
in a TaskTemplate
object wouldn't beenv
in ContainerSpec
APIError
when sent to the engine.env_file
containing empty lines increate_container
would raise an exception.detach
was being ignored by exec_start
.