A Python library for the Docker Engine API
APACHE-2.0 License
Bot releases are hidden (Show)
Published by ulyssessouza over 5 years ago
List of PRs / issues for this release
Published by ulyssessouza almost 6 years ago
List of PRs / issues for this release
attach
and exec_start
). Learnuse_config_proxy
parameter to the following methods:APIClient.build
, APIClient.create_container
, DockerClient.images.build
DockerClient.containers.run
(False
by default). This parameterTrue
by default in the 4.0.0 release.
config.json
file.DockerClient.swarm.init
now returns a boolean value as advertised.Published by shin- almost 6 years ago
List of PRs / issues for this release
pip install "docker[ssh]"
named
parameter in Image.save
, which may be\\?\
DockerClient
would fail whenstream
parameter to True
.requests
dependency has been bumpedPublished by shin- about 6 years ago
List of PRs / issues for this release
pyOpenSSL
in requirements.txt
and setup.py
to preventPublished by shin- about 6 years ago
List of PRs / issues for this release
uts_mode
parameter in HostConfig
UpdateConfig
constructor now allows rollback
as a validfailure_action
rollback_config
in APIClient.create_service
,APIClient.update_service
, DockerClient.services.create
andService.update
.build
methodDockerClient.services.create
user
value of 0
to be ignored inAPIClient.create_container
and DockerClient.containers.create
Published by shin- about 6 years ago
List of PRs / issues for this release
**
patterns in.dockerignore
filesPublished by shin- over 6 years ago
List of PRs / issues for this release
APIClient
and DockerClient
constructors now accept a credstore_env
DockerClient.networks.prune
now properly returns the operation's resultplugin_privileges
method can now be called for plugins requiringread_only
parameter when creating a service usingDockerClient
was being ignoredService.scale
would not properly update the service'sPublished by shin- over 6 years ago
List of PRs / issues for this release
prune_builds
in APIClient
and DockerClient.images
ignore_removed
parameter inDockerClient.containers.list
stop
and restart
now gets properly adjusted toPublished by shin- over 6 years ago
List of PRs / issues for this release
ValueError
when attempting toPublished by shin- over 6 years ago
List of PRs / issues for this release
attach()
, logs()
and events()
now have acancel()
method to let consumers stop the iteration client-side.build()
methods can now handle Dockerfiles supplied outside of thesparse
argument to DockerClient.containers.list()
isolation
parameter to build()
methods.close()
method to DockerClient
APIClient.inspect_distribution()
method andDockerClient.images.get_registry_data()
RegistryData
classPublished by shin- over 6 years ago
List of PRs / issues for this release
Published by shin- over 6 years ago
List of PRs / issues for this release
./
Published by shin- over 6 years ago
List of PRs / issues for this release
.dockerignore
comments to be read as exclusionPublished by shin- over 6 years ago
List of PRs / issues for this release
device_cgroup_rules
in host configgeneric_resources
when creating a Resources
chunk_size
parameter in export
,get_archive
and get_image
(Image.save
)force_update
method to the Service
class.Service.update
, when the force_update
parameter is set to True
,force_update
counter is incremented by one in the updatelogin()
was being ignored if theDockerClient.images.pull
to pull an image by digest.dockerignore
rules should now be respected as defined by the spec,pass
credential store is now properly supported.Published by shin- over 6 years ago
List of PRs / issues for this release
APIClient.login
didn't populate the _auth_configs
pull
and push
operations to failPublished by shin- over 6 years ago
List of PRs / issues for this release
APIClient.copy
has been removed. Users should use APIClient.get_archive
APIClient.insert
has been removed. Users may use APIClient.put_archive
APIClient.commit
to replicate the method's behavior.utils.ping_registry
and utils.ping
have been removed.stream
in APIClient.build
cpu_shares
, cpuset
, dns
, mem_limit
, memswap_limit
,volume_driver
, volumes_from
in APIClient.create_container
. These arecreate_host_config
insecure_registry
in APIClient.login
, APIClient.pull
,APIClient.push
, DockerClient.images.push
and DockerClient.images.pull
viz
in APIClient.images
endpoint_config
in APIClient.create_service
andAPIClient.update_service
is now endpoint_spec
name
in DockerClient.images.pull
is now repository
APIClient.wait
and Container.wait
now return a dict
representingDockerClient.images.load
now returns a list of Image
objects that haveContainer.exec_run
now returns a tuple of (exit_code, output) instead ofDockerClient.images.build
now returns a tuple of (image, build_logs)APIClient.export
, APIClient.get_archive
and APIClient.get_image
nowDockerClient.images.pull
now returns a list ofImage
s associated to the pulled repository instead of just the latest
scale
method to the Service
model ; this method is a shorthandupdate_service
with the required number of replicasplatform
parameter in APIClient.build
,DockerClient.images.build
, APIClient.pull
and DockerClient.images.pull
until
parameter in APIClient.logs
andContainer.logs
workdir
argument in APIClient.exec_create
andContainer.exec_run
condition
argument in APIClient.wait
andContainer.wait
EndpointSpec
using{published_port: (target_port, protocol, publish_mode)}
syntax.isolation
parameter in ContainerSpec
,DockerClient.services.create
and Service.update
APIClient.attach_socket
, APIClient.exec_create
now allow specifying adetach_keys
combination. If unspecified, the value from the config.json
.dockerignore
would break buildsDockerClient.containers.run
networks
data provided to create_service
andupdate_service
would be sent incorrectly to the Engine with API < 1.25latest
tag using theDockerClient
will no longer raise a NotFound
exceptionPublished by shin- almost 7 years ago
List of PRs / issues for this release
unlock_swarm
and get_unlock_key
methods to the APIClient
.
unlock
and get_unlock_key
to DockerClient.swarm
.greedy
parameter to DockerClient.networks.list
, yieldingcpu_rt_runtime
and cpu_rt_period
as parameters toAPIClient.create_host_config
and DockerClient.containers.run
.order
argument to UpdateConfig
.fetch_current_spec
to APIClient.update_service
and Service.update
build
method tried to include inaccessible filesIOError
instead).build
method would try to read from FIFOs presentAPIClient.stop
will no longer override the stop_timeout
value presentDockerClient.containers.run
would crash if theauto_remove
parameter was set to True
.listen_addr
in join_swarm
to match theinit_swarm
.APIError
object.Published by shin- almost 7 years ago
List of PRs / issues for this release
attach
andexec_run
methods.Published by shin- almost 7 years ago
List of PRs / issues for this release
mounts
in APIClient.create_host_config
andDockerClient.containers.run
consistency
, tmpfs_size
and tmpfs_mode
whenMount
objects now support the tmpfs
and npipe
types.extra_hosts
in the build
methods.APIClient
: create_config
, inspect_config
, remove_config
,configs
DockerClient
: configs.create
, configs.get
, configs.list
andConfig
model.configs
parameter to ContainerSpec
. Each item in the configs
docker.types.ConfigReference
instance.ContainerSpec
groups
, open_stdin
, read_only
, stop_signal
, helathcheck
,hosts
, ns_config
, configs
, privileges
.docker.types
:ConfigReference
, DNSConfig
, Privileges
, SwarmExternalCA
.driver
in APIClient.create_secret
andDockerClient.secrets.create
.scope
in APIClient.inspect_network
andAPIClient.create_network
, and their DockerClient
equivalent.create_swarm_spec
:external_cas
, labels
, signing_ca_cert
, signing_ca_key
,ca_force_rotate
, autolock_managers
, log_driver
. These additionsDockerClient.swarm.init
.insert_defaults
in APIClient.inspect_service
andDockerClient.services.get
.id
member on Swarm
objects wasn't being populated.attach
, exec_run
) to disappear.Published by shin- about 7 years ago
List of PRs / issues for this release
**
in .dockerignore
wouldattach
with the stream
argument set to False