Skip to content

Bump docker from 5.0.3 to 6.0.0

HIFIS Bot requested to merge dependabot-pip-docker-6.0.0 into main

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, use docker 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 with paramiko.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 and ReplicatedJobs for Swarm
  • Add remove() method on Image
  • Add force param to disable() on Plugin

🐛 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

... (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 Support global-job and replicated-job modes in Docker Swarm (#3016)
  • 4278981 credentials: eliminate distutils deprecation warnings (#3028)
  • ab5e927 lint: remove extraneous logic for preexec_func (#2920)
  • b7daa52 docs: add gzip arg to BuildApiMixin (#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

Merge request reports