Skip to content

Update to Docker v29 #851

@kimdre

Description

@kimdre

Docker v29 introduces lots of breaking changes that requires to replace the old github.com/docker/docker dependencies to github.com/moby/moby:

Breaking Changes

  • The Go module github.com/docker/docker is deprecated in favor of github.com/moby/moby/client and github.com/moby/moby/api. The github.com/moby/moby module is considered an internal implementation detail - the only supported public modules are client and api. Starting with v29, releases are tagged with the docker- prefix (e.g., docker-v29.0.0). This only affects Go module users and package maintainers.
  • The daemon now requires API version v1.44 or later (Docker v25.0+).
  • Debian armhf (32-bit) packages now target ARMv7 CPUs and will not work on ARMv6 devices.
  • Official Raspbian (32-bit) packages are no longer provided. Use Debian arm64 packages for 64-bit devices, or Debian armhf packages for 32-bit ARMv7 devices.
  • cgroup v1 is deprecated. Support continues until at least May 2029, but migrate to cgroup v2 as soon as possible. See moby#51111.
  • Docker Content Trust was removed from the Docker CLI. Can be built as a separate plugin: https://github.com/docker/cli/blob/v29.0.0/cmd/docker-trust/main.go

Alternatively the new docker/go-sdk might also be interesting, although it seems too high-level for doco-cd.

See the open PR: #770

  • Also update github.com/docker/compose/v2 to github.com/docker/compose/v5 (This is the first release with official SDK support)

Metadata

Metadata

Assignees

Labels

breakingChanges that are not backwards compatibledependenciesPull requests that update a dependency file

Projects

Status

Blocked

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions