GeezerVison is showing github.com — Releases · docker/docker-py
Releases · docker/docker-py
7.2.0
7.2.0
This tag was signed with the committer’s verified signature.
5ad5327
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Upgrade Notes
docker.from_env() now honors the active Docker CLI context when DOCKER_HOST is not set.
- This means the client may connect to the daemon selected by
DOCKER_CONTEXT or the current context in ~/.docker/config.json, matching Docker CLI behavior more closely.
- If your application relied on the previous default connection behavior, set
DOCKER_HOST explicitly, set DOCKER_CONTEXT=default, or pass use_context=False to DockerClient.from_env().
- Added
docker.from_context() / DockerClient.from_context() for explicitly creating a client from a Docker CLI context.
Features
- Added support for Docker contexts when creating the default client
- Added subpath support for volumes
Bugfixes
- Fixed
exec_run documentation for the stream parameter
- Fixed image loading to avoid depending on the deprecated
JSONMessage.error field
- Preserved the rotated unlock key in swarm integration tests
- Fixed SSL certificate generation in tests
- Fixed IPv6 integration tests by explicitly enabling IPv6 where required
Miscellaneous
- Updated tests for newer Docker Engine behavior
- CI and build updates
What's Changed
- tests/exec: expect 127 exit code for missing executable by @laurazard in #3290
- fixing doc for stream param in exec_run by @yasonk in #3292
- Bump default API version to 1.45 (Moby 26.0/26.1) by @thaJeztah in #3261
- Set a dummy-version if none set, and remove unused APT_MIRROR build-arg by @thaJeztah in #3267
- test_service_logs: stop testing experimental versions by @thaJeztah in #2442
- Makefile: fix circular reference for integration-dind by @thaJeztah in #3297
- image load: don't depend on deprecated JSONMessage.error field by @thaJeztah in #3307
- integration: test_create_volume_invalid_driver allow either 400 or 404 by @thaJeztah in #3296
- integration: adjust tests for omitted "OnBuild" by @thaJeztah in #3336
- Implement Subpath Support for Volumes in Docker-Py (#3243) by @Khushiyant in #3270
- tests: fix ssl generation by @thaJeztah in #3365
- test/integration: don't check for deprecated Networks field by @thaJeztah in #3362
- test: Skip from_env_unix tests if DOCKER_HOST is network socket by @ricardobranco777 in #3366
- test_connect_with_ipv6_address: enable IPv6 by @robmry in #3372
- test_create_with_ipv6_address: enable IPv6 by @robmry in #3373
- tests: Migrate off gpg2 and regenerate key ed25519 by @vvoland in #3399
- gha: Pin to digests by @vvoland in #3408
- Fix integration tests on non-amd64 hosts and add ARM64 CI by @vvoland in #3407
- integration/swarm: Preserve rotated unlock key by @vvoland in #3410
- [DKP-2535] Honour context if present for default client, add contexts support by @ebriney in #3401
- docs: 7.2.0 changelog by @vvoland in #3415
New Contributors
Full Changelog: 7.1.0...7.2.0
Contributors
thaJeztah, vvoland, and 6 other contributors
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
mazen-isstech reacted with hooray emoji
1 person reacted
7.1.0
a365202
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Upgrade Notes
- Bumped minimum engine API version to 1.24
- Bumped default engine API version to 1.44 (Moby 25.0)
Bugfixes
- Fixed issue with tag parsing when the registry address includes ports that resulted in
invalid tag format errors
- Fixed issue preventing creating new configs (
ConfigCollection), which failed with a KeyError due to the name field
- Fixed an issue due to an update in the requests package breaking
docker-py by applying the suggested fix
Miscellaneous
- Documentation improvements
- Updated Ruff (linter) and fixed minor linting issues
- Packaging/CI updates
- Updated tests
- Stopped checking for deprecated container and image related fields (
Container and ContainerConfig)
- Updated tests that check
NetworkSettings.Networks.<network>.Aliases due to engine changes
What's Changed
New Contributors
Full Changelog: 7.0.0...7.1.0
Contributors
akx, milas, and 6 other contributors
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
ShadowUser17 reacted with thumbs up emoji
sigma67, RobPasMue, owenlamont, showmidelo, and dvmcconnell reacted with hooray emoji
All reactions
-
👍
1 reaction
-
🎉
5 reactions
6 people reacted
7.0.0
7d8a161
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Upgrade Notes (from 6.x) ⚠️
- Removed SSL version (
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.12
- Python 3.7+ supports TLSv1.3 by default
- Websocket support is no longer included by default (#3123)
- Use
pip install docker[websockets] to include websocket-client dependency
- By default,
docker-py hijacks the TCP connection and does not use Websockets
- Websocket client is only required to use
attach_socket(container, ws=True)
- Python 3.7 no longer supported (reached end-of-life June 2023) (#3187)
Features ✨
- Python 3.12 support (#3185)
- Full
networking_config support for containers.create() (#3121)
- Replaces
network_driver_opt (added in 6.1.0)
- Add
health() property to container that returns status (e.g. unhealthy) (#3147)
- Add
pause option to container.commit() (#3159)
- Add support for bind mount propagation (e.g.
rshared, private) (#3164)
- Add support for
filters, keep_storage, and all in prune_builds() on API v1.39+ (#3192)
Bugfixes 🐛
- Consistently return
docker.errors.NotFound on 404 responses (#3156)
- Validate tag format before push (#3191)
Miscellaneous 🔧
- Upgraded urllib3 version in
requirements.txt (used for development/tests) (#3183)
- Documentation typo fixes & formatting improvements (#3130)
- Fixed integration test compatibility for newer Moby engine versions (#3165, #3166, #3145, #3169, #3170)
- Switch to ruff for linting (#3126)
What's Changed
- fix user_guides/multiplex.rst by @Longin-Yu in #3130
- tests/integration: fix flake8 failures (E721 do not compare types), and fix Dockerfile for debian "bookworm" by @thaJeztah in #3166
- tests/integration: update some tests for updated error-messages by @thaJeztah in #3165
- README: fix link for CI status badge by @thaJeztah in #3167
- fix: use response.text to get string rather than bytes by @mndeveci in #3156
- feat: add pause option to commit api by @VincentLeeMax in #3159
- build(deps): Bump requests from 2.28.1 to 2.31.0 by @dependabot in #3136
- test: remove APT_MIRROR from Dockerfile by @thaJeztah in #3145
- Switch linting to ruff, use f-strings, fix lint errors and possible bugs by @akx in #3126
- integration: Fix bad subnet declaration by @akerouanton in #3169
- integration: Remove test_create_check_duplicate by @akerouanton in #3170
- Support all
Network.connect parameters in client.containers.run and client.containers.create by @Skazza94 in #3121
- feat: move websocket-client to extra dependency by @akx in #3123
- Add health property to Containers model by @TurnrDev in #3147
- build(deps): Bump urllib3 from 1.26.11 to 1.26.18 by @dependabot in #3183
- breaking: Python 3.12 compatibility & remove custom SSL adapter by @milas in #3185
- chore: add changelog for 7.0.0 by @milas in #3186
- chore: remove support for Python 3.7 by @milas in #3187
- chore: update MAINTAINERS and remove CODEOWNERS by @milas in #3188
- chore: fix missing setuptools in CI by @milas in #3189
- Fix #3153 - Validate tag before build using OCI regex by @LombardiDaniel in #3191
- feat: accept filters and keep_storage in prune_builds by @emranbm in #3192
- chore: update changelog and maintainer by @milas in #3193
New Contributors
Full Changelog: 6.1.3...7.0.0
Contributors
akx, akerouanton, and 10 other contributors
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
FHU-yezi and ShadowUser17 reacted with thumbs up emoji
andrewSC reacted with hooray emoji
Nusnus and mathis-k reacted with rocket emoji
All reactions
-
👍
2 reactions
-
🎉
1 reaction
-
🚀
2 reactions
5 people reacted
7.0.0b3
3d0a3f1
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
ℹ️ See 7.0.0b2 for full release notes
Upgrade Notes (from 6.x) ⚠️
- Removed SSL version (
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.12
- Python 3.7+ supports TLSv1.3 by default
- Websocket support is no longer included by default (#3123)
- Use
pip install docker[websockets] to include websocket-client dependency
- By default,
docker-py hijacks the TCP connection and does not use Websockets
- Websocket client is only required to use
attach_socket(container, ws=True)
- Python 3.7 no longer supported (reached end-of-life June 2023) (#3187)
Features ✨
- Add support for
filters, keep_storage, and all in prune_builds() on API v1.39+ (#3192)
Bugfixes 🐛
- Validate tag format before push (#3191)
Full Changelog
Commit Log: 7.0.0b2...7.0.0b3
New Contributors
Contributors
emranbm and LombardiDaniel
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
7.0.0b2
cb8f2c6
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
ℹ️ This is identical to 7.0.0b1, which was not correctly released due to a CI pipeline issue.
Upgrade Notes ⚠️
- Removed SSL version (
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.12
- Python 3.7+ supports TLSv1.3 by default
- Websocket support is no longer included by default (#3123)
- Use
pip install docker[websockets] to include websocket-client dependency
- By default,
docker-py hijacks the TCP connection and does not use Websockets
- Websocket client is only required to use
attach_socket(container, ws=True)
- Python 3.7 no longer supported (reached end-of-life June 2023) (#3187)
Features ✨
- Python 3.12 support (#3185)
- Full
networking_config support for containers.create() (#3121)
- Replaces
network_driver_opt (added in 6.1.0)
- Add
health() property to container that returns status (e.g. unhealthy) (#3147)
- Add
pause option to container.commit() (#3159)
- Add support for bind mount propagation (e.g.
rshared, private) (#3164)
Bugfixes 🐛
- Consistently return
docker.errors.NotFound on 404 responses (#3156)
Miscellaneous 🔧
- Upgraded urllib3 version in
requirements.txt (used for development/tests) (#3183)
- Documentation typo fixes & formatting improvements (#3130)
- Fixed integration test compatibility for newer Moby engine versions (#3165, #3166, #3145, #3169, #3170)
- Switch to ruff for linting (#3126)
Full Changelog
- fix user_guides/multiplex.rst by @Longin-Yu in #3130
- tests/integration: fix flake8 failures (E721 do not compare types), and fix Dockerfile for debian "bookworm" by @thaJeztah in #3166
- tests/integration: update some tests for updated error-messages by @thaJeztah in #3165
- README: fix link for CI status badge by @thaJeztah in #3167
- fix: use response.text to get string rather than bytes by @mndeveci in #3156
- feat: add pause option to commit api by @VincentLeeMax in #3159
- build(deps): Bump requests from 2.28.1 to 2.31.0 by @dependabot in #3136
- test: remove APT_MIRROR from Dockerfile by @thaJeztah in #3145
- Switch linting to ruff, use f-strings, fix lint errors and possible bugs by @akx in #3126
- integration: Fix bad subnet declaration by @akerouanton in #3169
- integration: Remove test_create_check_duplicate by @akerouanton in #3170
- Support all
Network.connect parameters in client.containers.run and client.containers.create by @Skazza94 in #3121
- feat: move websocket-client to extra dependency by @akx in #3123
- Add health property to Containers model by @TurnrDev in #3147
- build(deps): Bump urllib3 from 1.26.11 to 1.26.18 by @dependabot in #3183
- breaking: Python 3.12 compatibility & remove custom SSL adapter by @milas in #3185
- chore: add changelog for 7.0.0 by @milas in #3186
- chore: remove support for Python 3.7 by @milas in #3187
- chore: update MAINTAINERS and remove CODEOWNERS by @milas in #3188
New Contributors
Full Changelog: 6.1.3...7.0.0b2
Contributors
akx, akerouanton, and 8 other contributors
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
7.0.0b1
milas
released this
21 Nov 17:26
7140969
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Upgrade Notes ⚠️
- Removed SSL version (
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.12
- Python 3.7+ supports TLSv1.3 by default
- Websocket support is no longer included by default (#3123)
- Use
pip install docker[websockets] to include websocket-client dependency
- By default,
docker-py hijacks the TCP connection and does not use Websockets
- Websocket client is only required to use
attach_socket(container, ws=True)
- Python 3.7 no longer supported (reached end-of-life June 2023) (#3187)
Features ✨
- Python 3.12 support (#3185)
- Full
networking_config support for containers.create() (#3121)
- Replaces
network_driver_opt (added in 6.1.0)
- Add
health() property to container that returns status (e.g. unhealthy) (#3147)
- Add
pause option to container.commit() (#3159)
- Add support for bind mount propagation (e.g.
rshared, private) (#3164)
Bugfixes 🐛
- Consistently return
docker.errors.NotFound on 404 responses (#3156)
Miscellaneous 🔧
- Upgraded urllib3 version in
requirements.txt (used for development/tests) (#3183)
- Documentation typo fixes & formatting improvements (#3130)
- Fixed integration test compatibility for newer Moby engine versions (#3165, #3166, #3145, #3169, #3170)
- Switch to ruff for linting (#3126)
Full Changelog
- fix user_guides/multiplex.rst by @Longin-Yu in #3130
- tests/integration: fix flake8 failures (E721 do not compare types), and fix Dockerfile for debian "bookworm" by @thaJeztah in #3166
- tests/integration: update some tests for updated error-messages by @thaJeztah in #3165
- README: fix link for CI status badge by @thaJeztah in #3167
- fix: use response.text to get string rather than bytes by @mndeveci in #3156
- feat: add pause option to commit api by @VincentLeeMax in #3159
- build(deps): Bump requests from 2.28.1 to 2.31.0 by @dependabot in #3136
- test: remove APT_MIRROR from Dockerfile by @thaJeztah in #3145
- Switch linting to ruff, use f-strings, fix lint errors and possible bugs by @akx in #3126
- integration: Fix bad subnet declaration by @akerouanton in #3169
- integration: Remove test_create_check_duplicate by @akerouanton in #3170
- Support all
Network.connect parameters in client.containers.run and client.containers.create by @Skazza94 in #3121
- feat: move websocket-client to extra dependency by @akx in #3123
- Add health property to Containers model by @TurnrDev in #3147
- build(deps): Bump urllib3 from 1.26.11 to 1.26.18 by @dependabot in #3183
- breaking: Python 3.12 compatibility & remove custom SSL adapter by @milas in #3185
- chore: add changelog for 7.0.0 by @milas in #3186
- chore: remove support for Python 3.7 by @milas in #3187
- chore: update MAINTAINERS and remove CODEOWNERS by @milas in #3188
New Contributors
Full Changelog: 6.1.3...7.0.0b1
Contributors
akx, akerouanton, and 8 other contributors
Assets
2
Loading
Uh oh!
There was an error while loading. Please reload this page.
amayakasa reacted with hooray emoji
1 person reacted
6.1.3
78439eb
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
🐛 Bugfixes
- Fix eventlet compatibility (#3132)
What's Changed
New Contributors
Full Changelog: 6.1.2...6.1.3
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
ShadowUser17, andrevka, and juanpiLorca reacted with eyes emoji
3 people reacted
6.1.2
14e8d07
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
🐛 Bugfixes
- Fix for socket timeouts on long
docker exec calls (#3125)
- Respect
timeout param on Windows (#3112)
Full Changelog
New Contributors
Full Changelog: 6.1.1...6.1.2
Contributors
milas, loicleyendecker, and ImogenBits
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
ShadowUser17, yym0924, amayakasa, loic-slamcore, 1995parham, and Manu10744 reacted with thumbs up emoji
6 people reacted
6.1.1
443a353
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
ℹ️ Upgrade Notes (6.1.x)
- Errors are no longer returned during client initialization if the credential helper cannot be found. A warning will be emitted instead, and an error is returned if the credential helper is used.
🐛 Bugfixes
- Fix
containers.stats() hanging with stream=True
- Correct return type in docs for
containers.diff() method
What's Changed
New Contributors
Full Changelog: 6.1.0...6.1.1
Contributors
john-b-yang and RazCrimson
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
ShadowUser17 reacted with eyes emoji
1 person reacted
6.1.0
3178c8d
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
ℹ️ Upgrade Notes
- Errors are no longer returned during client initialization if the credential helper cannot be found. A warning will be emitted instead, and an error is returned if the credential helper is used.
✨ Features
- Python 3.11 support
- Use
poll() instead of select() on non-Windows platforms
- New API fields
network_driver_opt on container run / create
one-shot on container stats
status on services list
🐛 Bugfixes
- Support for requests 2.29.0+ and urllib3 2.x
- Do not strip characters from volume names
- Fix connection leak on
container.exec_* operations
- Fix errors closing named pipes on Windows
What's Changed
New Contributors
Full Changelog: 6.0.1...6.1.0
Contributors
akx, Lekensteyn, and 11 other contributors
Assets
4
Loading
Uh oh!
There was an error while loading. Please reload this page.
ShadowUser17 reacted with eyes emoji
1 person reacted
|