Skip to content

feat(rootless): upgrade to Docker 29.10; use DHI - #193

Merged
masontikhonov merged 8 commits into
rootlessfrom
use-dhi-rootless
Nov 27, 2026
Merged

masontikhonov merged 8 commits into
rootlessfrom
use-dhi-rootless

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.

Rootfull counterpart: #192
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

@masontikhonov masontikhonov self-assigned this Nov 16, 2026
@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@masontikhonov masontikhonov changed the title build(rootless): use test DHI images feat(rootless): upgrade to Docker 29.10; use DHI Nov 19, 2026
@codefresh-git-integration

Copy link
Copy Markdown

/e2e

@masontikhonov

Copy link
Copy Markdown
Contributor Author

/bump minor

@github-actions

Copy link
Copy Markdown
Contributor

✅ Bumped version to 3.1.0 (minor from 3.0.36 on rootless).

@codefresh-git-integration

Copy link
Copy Markdown

/e2e

masontikhonov and others added 2 commits November 19, 2026 17:15
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

@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:41
@masontikhonov
masontikhonov merged commit d6761c2 into rootless Nov 27, 2026
6 checks passed
@masontikhonov
masontikhonov deleted the use-dhi-rootless 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