Skip to content

feat: upgrade to Docker 29.10; use DHI - #192

Merged
masontikhonov merged 13 commits into
masterfrom
use-dhi
Nov 27, 2026
Merged

masontikhonov merged 13 commits into
masterfrom
use-dhi

Conversation

@masontikhonov

@masontikhonov masontikhonov commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What

This upgrades to Docker 29.10 (release notes).


This also fixes image retention in the dind cleaner. The bug has been there since 3.0.9, when we upgraded to Docker 29.

User impact: the cleaner could delete images that pipelines had pulled recently, and the next build on the same volume pulled them again. This mostly hit images that were pulled but not run as a step container, such as --cache-from sources and images fetched with docker pull. For users that meant:

  • slower builds, because the image had to be pulled again
  • lost layer cache for builds using --cache-from, so those builds rebuilt layers they would otherwise reuse
  • extra registry traffic, with a higher chance of hitting rate limits (e.g. Docker Hub)

Builds didn't fail, and no data was lost. Images used as step containers weren't affected.

Cause: Docker Engine 29 (API v1.52) no longer includes the deprecated top-level id field in GET /events. The cleaner's jq filter read that field, so every image event (pull, tag, load, push) came out as null. Those images never made it onto the list of images to keep, and each cleanup run logged Error response from daemon: No such image: null:latest. The filter now reads the image reference from .Actor.ID.


This also migrates to Docker Hardened images for security reasons.

Rootless counterpart: #193
Contributes to CF-2744
Closes CF-2294

PR Comments

Add the following comments to the PR:

  • /e2e - to trigger E2E build
  • /bump patch - to bump the patch version
  • /bump minor - to bump the minor version
  • /bump major - to bump the major version

Security report

codefresh/dind — fixed 22 CVEs, 14 tickets

Scan

https://g.codefresh.io/build/6b09a75e969ddc1e3fa63880

Fixed CVEs: 22

🔴 High: 4
🟠 Medium: 5
🟡 Low: 7
⚫ Unassigned: 6
  • CVE-2026-78663 in golang.org/x/net/http2@v0.58.0 at /usr/local/bin/ctr
  • CVE-2026-97032 in golang.org/x/net/http2@v0.58.0 at /usr/local/bin/ctr
  • CVE-2026-78669 in golang.org/x/net/http2@v0.58.0 at /usr/local/bin/ctr
  • CVE-2026-78660 in golang.org/x/net/http2@v0.58.0 at /usr/local/bin/ctr
  • CVE-2026-78659 in golang.org/x/net/http2@v0.58.0 at /usr/local/bin/ctr
  • CVE-2026-97054 in net/http@1.26.10 at /usr/local/bin/ctr

Fixed issues: 14

@masontikhonov masontikhonov self-assigned this Nov 16, 2026
masontikhonov and others added 2 commits November 16, 2026 22:58
The DHI dind image ships the modprobe wrapper at /usr/bin/modprobe, so its
fallback `exec modprobe` resolves to itself and loops forever. This hung the
build in fuse-overlayfs's post-install and would also hang dockerd's module
loading at runtime. Move the wrapper back to /usr/local/bin and point
/usr/bin/modprobe at busybox, matching the upstream docker:dind layout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@codefresh-git-integration

Copy link
Copy Markdown

/e2e

1 similar comment
@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@masontikhonov masontikhonov changed the title build: use dev DHI feat: upgrade to Docker 29.10; use DHI Nov 19, 2026
masontikhonov and others added 2 commits November 19, 2026 15:15
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@codefresh-git-integration

Copy link
Copy Markdown

/e2e

1 similar comment
@masontikhonov

Copy link
Copy Markdown
Contributor Author

/e2e

masontikhonov and others added 2 commits November 19, 2026 17:14
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Docker Engine 29 dropped the deprecated top-level id field from events,
so image events yielded "null" and were never added to the retained
images list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codefresh-git-integration

Copy link
Copy Markdown

/e2e

1 similar comment
@masontikhonov

Copy link
Copy Markdown
Contributor Author

/e2e

@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@masontikhonov
masontikhonov marked this pull request as ready for review November 27, 2026 15:39
@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@masontikhonov
masontikhonov merged commit c81bcb5 into master Nov 27, 2026
4 checks passed
@masontikhonov
masontikhonov deleted the use-dhi branch November 27, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants