Bump docker from 5.0.3 to 6.0.0
Bumps docker from 5.0.3 to 6.0.0.
Release notes
Sourced from docker's releases.
6.0.0
ℹ ️ Upgrade Notes
- Minimum supported Python version is 3.7+
- When installing with pip, the
docker[tls]
extra is deprecated and a no-op, usedocker
for same functionality (TLS support is always available now)- Native Python SSH client (used by default /
use_ssh_client=False
) will now reject unknown host keys withparamiko.ssh_exception.SSHException
- Short IDs are now 12 characters instead of 10 characters (same as Docker CLI)
- Version metadata is now exposed as
__version__
✨ Features
- Python 3.10 support
- Automatically negotiate most secure TLS version
- Add
platform
(e.g.linux/amd64
,darwin/arm64
) to container create & run- Add support for
GlobalJob
andReplicatedJobs
for Swarm- Add
remove()
method onImage
- Add
force
param todisable()
onPlugin
🐛 Bugfixes
- Fix install issues on Windows related to
pywin32
- Do not accept unknown SSH host keys in native Python SSH mode
- Use 12 character short IDs for consistency with Docker CLI
- Ignore trailing whitespace in
.dockerignore
files- Fix IPv6 host parsing when explicit port specified
- Fix
ProxyCommand
option for SSH connections- Do not spawn extra subshell when launching external SSH client
- Improve exception semantics to preserve context
- Documentation improvements (formatting, examples, typos, missing params)
🔧 Miscellaneous
- Upgrade dependencies in
requirements.txt
to latest versions- Remove extraneous transitive dependencies
- Eliminate usages of deprecated functions/methods
- Test suite reliability improvements
- GitHub Actions workflows for linting, unit tests, integration tests, and publishing releases
Changelog
- Update changelog for 5.0.3 by
@aiordache
in docker/docker-py#2897- Add support for Python 3.10 by
@hugovk
in docker/docker-py#2898- Bump paramiko from 2.8.0 to 2.10.1 by
@dependabot
in docker/docker-py#2974- deps: upgrade pywin32 & relax version constraint by
@milas
in docker/docker-py#3004- ci: remove Python 3.6 and add 3.11 pre-releases by
@milas
in docker/docker-py#3005- utils: fix IPv6 address w/ port parsing by
@milas
in docker/docker-py#3006- test_create_with_device_cgroup_rules: don't check devices.list by
@thaJeztah
in docker/docker-py#2940- Fix exception semantics in _raise_for_status by
@kmaork
in docker/docker-py#2954- tls: use auto-negotiated highest version by
@milas
in docker/docker-py#3007- sshcon: remove use of self.ssh_conf by
@glicht
in docker/docker-py#2993- Use
packaging
instead ofdistutils
forVersion
by@FrancescoCasalegno
in docker/docker-py#2931- test: fix a couple flaky/broken tests by
@milas
in docker/docker-py#3008
... (truncated)
Commits
-
e901eac
test: add additional tests for cgroupns option (#3024) -
fc86ab0
swarm: add support for DataPathPort on init (#2987) -
45bf9f9
Merge remote-tracking branch 'upstream/main' into patch-1 -
c03aeb6
Merge remote-tracking branch 'upstream/main' into connect-with-mac -
58aa62b
swarm: add sysctl support for services (#3029) -
ff0b4ac
docs: add changelog for 6.0.0 (#3019) -
6640243
Supportglobal-job
andreplicated-job
modes in Docker Swarm (#3016) -
4278981
credentials: eliminate distutils deprecation warnings (#3028) -
ab5e927
lint: remove extraneous logic forpreexec_func
(#2920) -
b7daa52
docs: addgzip
arg toBuildApiMixin
(#2929) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts