A Python library for the Docker Engine API
ssl_version
) and explicit hostname check (assert_hostname
) options (#3185)
assert_hostname
has not been used since Python 3.6 and was removed in 3.12pip install docker[websockets]
to include websocket-client
dependencydocker-py
hijacks the TCP connection and does not use Websocketsattach_socket(container, ws=True)
networking_config
support for containers.create()
(#3121)
network_driver_opt
(added in 6.1.0)health()
property to container that returns status (e.g. unhealthy
) (#3147)pause
option to container.commit()
(#3159)rshared
, private
) (#3164)filters
, keep_storage
, and all
in prune_builds()
on API v1.39+ (#3192)docker.errors.NotFound
on 404 responses (#3156)requirements.txt
(used for development/tests) (#3183)Network.connect
parameters in client.containers.run
and client.containers.create
by @Skazza94 in https://github.com/docker/docker-py/pull/3121
Full Changelog: https://github.com/docker/docker-py/compare/6.1.3...7.0.0
βΉοΈ See 7.0.0b2 for full release notes
ssl_version
) and explicit hostname check (assert_hostname
) options (#3185)
assert_hostname
has not been used since Python 3.6 and was removed in 3.12pip install docker[websockets]
to include websocket-client
dependencydocker-py
hijacks the TCP connection and does not use Websocketsattach_socket(container, ws=True)
filters
, keep_storage
, and all
in prune_builds()
on API v1.39+ (#3192)Commit Log: https://github.com/docker/docker-py/compare/7.0.0b2...7.0.0b3
βΉοΈ This is identical to 7.0.0b1
, which was not correctly released due to a CI pipeline issue.
ssl_version
) and explicit hostname check (assert_hostname
) options (#3185)
assert_hostname
has not been used since Python 3.6 and was removed in 3.12pip install docker[websockets]
to include websocket-client
dependencydocker-py
hijacks the TCP connection and does not use Websocketsattach_socket(container, ws=True)
networking_config
support for containers.create()
(#3121)
network_driver_opt
(added in 6.1.0)health()
property to container that returns status (e.g. unhealthy
) (#3147)pause
option to container.commit()
(#3159)rshared
, private
) (#3164)docker.errors.NotFound
on 404 responses (#3156)requirements.txt
(used for development/tests) (#3183)Network.connect
parameters in client.containers.run
and client.containers.create
by @Skazza94 in https://github.com/docker/docker-py/pull/3121
Full Changelog: https://github.com/docker/docker-py/compare/6.1.3...7.0.0b2
ssl_version
) and explicit hostname check (assert_hostname
) options (#3185)
assert_hostname
has not been used since Python 3.6 and was removed in 3.12pip install docker[websockets]
to include websocket-client
dependencydocker-py
hijacks the TCP connection and does not use Websocketsattach_socket(container, ws=True)
networking_config
support for containers.create()
(#3121)
network_driver_opt
(added in 6.1.0)health()
property to container that returns status (e.g. unhealthy
) (#3147)pause
option to container.commit()
(#3159)rshared
, private
) (#3164)docker.errors.NotFound
on 404 responses (#3156)requirements.txt
(used for development/tests) (#3183)Network.connect
parameters in client.containers.run
and client.containers.create
by @Skazza94 in https://github.com/docker/docker-py/pull/3121
Full Changelog: https://github.com/docker/docker-py/compare/6.1.3...7.0.0b1
Full Changelog: https://github.com/docker/docker-py/compare/6.1.2...6.1.3
docker exec
calls (#3125)timeout
param on Windows (#3112)Full Changelog: https://github.com/docker/docker-py/compare/6.1.1...6.1.2
containers.stats()
hanging with stream=True
containers.diff()
methoddiff
method by @john-b-yang in https://github.com/docker/docker-py/pull/3115
Full Changelog: https://github.com/docker/docker-py/compare/6.1.0...6.1.1
poll()
instead of select()
on non-Windows platformsnetwork_driver_opt
on container run / createone-shot
on container statsstatus
on services listcontainer.exec_*
operationsnetwork_driver_opt
to client.containers run and create by @Skazza94 in https://github.com/docker/docker-py/pull/3083
one-shot
to container API stats
by @aroxby-wayscript in https://github.com/docker/docker-py/pull/3089
status
parameter to services list API by @lorinbucher in https://github.com/docker/docker-py/pull/3093
Full Changelog: https://github.com/docker/docker-py/compare/6.0.1...6.1.0
This version is not compatible with requests
2.29+ or urllib3
2.x.
Either add requests < 2.29
and urllib3 < 2
to your requirements or upgrade to to the latest docker-py
release.
The pipe has been ended
errors on Windows (#3056)since
/ until
) (#3031)Full Changelog: https://github.com/docker/docker-py/compare/6.0.0...6.0.1
docker[tls]
extra is deprecated and a no-op,
use docker
for same functionality (TLS support is always available now)use_ssh_client=False
) will now
reject unknown host keys with paramiko.ssh_exception.SSHException
__version__
platform
(e.g. linux/amd64
, darwin/arm64
) to container create & runGlobalJob
and ReplicatedJobs
for Swarmremove()
method on Image
force
param to disable()
on Plugin
pywin32
.dockerignore
filesProxyCommand
option for SSH connectionsrequirements.txt
to latest versionspackaging
instead of distutils
for Version
by @FrancescoCasalegno in https://github.com/docker/docker-py/pull/2931
gzip
documentation to BuildApiMixin
by @SauravMaheshkar in https://github.com/docker/docker-py/pull/2929
preexec_func
always by @q0w in https://github.com/docker/docker-py/pull/2920
global-job
and replicated-job
modes in Docker Swarm by @kinday in https://github.com/docker/docker-py/pull/3016
Full Changelog: https://github.com/docker/docker-py/compare/5.0.3...6.0.0