Skip to content

fix(docker-in-docker): Send forky-as-trixie patch upstream, drop from fork #2

Closed

Description

@dan-petty

Problem

Checked at main (5b62889).

  • 1f2ab5c (PR Handle 'forky' codename as 'trixie' in install script #1, merged 2026-09-18) maps VERSION_CODENAME=forky to trixie in src/docker-in-docker/install.sh:254-257. This lets Docker CE install on Debian testing and sid images, which report forky. download.docker.com still publishes no forky dist: on 2026-10-09 its linux/debian/dists/ listed bookworm, bullseye, buster, jessie, stretch, trixie and wheezy.
  • Nothing tests the change. test/docker-in-docker/scenarios.json:260 has install_on_debian_trixie but no Debian testing or sid scenario. This repository has never run a workflow (the Actions runs API returns 0), so PR Handle 'forky' codename as 'trixie' in install script #1 merged with no checks.
  • src/docker-in-docker/devcontainer-feature.json:3 still says 4.1.1. Upstream already released that version without this change (tag feature_docker-in-docker_4.1.1 is 3959c62). CONTRIBUTING.md:41 asks for a version bump.
  • The mapping runs before the Moby checks. With moby at its default (true), a forky system fails at install.sh:260-264 with "The 'moby' option is not supported on debian 'trixie'", which names the wrong release. Without the mapping, the codename check at install.sh:269-271 would reject it as forky.
  • Nothing uses the patched copy. The fork publishes no feature images, and nothing references ghcr.io/dan-petty/devcontainer-features. The owner's dev container uses the upstream feature and rewrites /etc/os-release instead (dan-petty/devops-cli .devcontainer/Dockerfile:25).
  • No devcontainers/features issue or PR mentions forky. Support for Debian "trixie" release in docker-outside-of-docker feature devcontainers/features#1059 asked for trixie in July 2024, while trixie was still testing. Trixie reached the codename lists only through [docker] Add Debian Trixie to the docker-in-docker and docker-outside-of-docker distro lists devcontainers/features#1442, after trixie became stable, so upstream may decline a mapping for a testing codename.
  • main is 4 commits ahead of upstream main (cf6f1cd) and 6 behind it, and git merge-tree merges the two cleanly.

Proposed remedy

  • Cut a branch from upstream main and cherry-pick 1f2ab5c. Then:
    • Apply the mapping only when moby is false (the Docker CE path), so the Moby checks still see forky.
    • Add an install_on_debian_testing scenario (debian:testing, moby: false), modelled on install_on_debian_trixie.
    • Bump docker-in-docker to the next patch version above upstream's (4.1.3 at cf6f1cd). Upstream used a patch bump for Ubuntu resolute support in 3959c62.
  • Run devcontainer features test -f docker-in-docker --skip-autogenerated --filter install_on_debian_testing ., then open the PR against devcontainers/features. Agreeing to the Microsoft CLA (CONTRIBUTING.md:46-47) is the owner's step.
  • When upstream merges or closes that PR, revert 1f2ab5c on main. Nothing uses the fork's copy, so it goes in either case. Then sync main with upstream by a merge (the Sync fork button or the merge-upstream API), never a reset, because a reset would delete the roadmap files.

Acceptance criteria

  • A devcontainers/features PR adds the forky mapping on the Docker CE path only, an install_on_debian_testing scenario, and a docker-in-docker patch-version bump.
  • devcontainer features test -f docker-in-docker --skip-autogenerated --filter install_on_debian_testing . passes on that branch.
  • On that branch, a debian:testing install with moby: true fails with a message that names forky, not trixie.
  • After upstream merges or closes the PR, 1f2ab5c is reverted, main contains upstream main, and git diff upstream/main main --stat lists only .github/roadmap.toml and .github/labels.yml.

Proposed design

Problem statement

The fork contains an untested, unversioned patch (1f2ab5c) that unconditionally maps Debian's testing codename 'forky' to 'trixie' in the docker-in-docker install script, producing misleading Moby error messages and bypassing the codename check. Nothing in the fork or the owner's environment uses the patched copy, and the change was merged with no CI runs. The fix should be sent upstream to devcontainers/features with the mapping scoped to the Docker CE path only, a proper test scenario, and a version bump, after which the fork's copy is reverted and main is synced with upstream.

Acceptance criteria

  • Criterion 1: A PR against devcontainers/features adds the forky-to-trixie mapping scoped to the Docker CE path (moby=false), an install_on_debian_testing scenario using debian:testing with moby:false, and bumps docker-in-docker to 4.1.3.
    Verification: Review the PR diff on devcontainers/features: install.sh applies the mapping only inside the moby=false branch, scenarios.json contains an install_on_debian_testing entry, and devcontainer-feature.json shows version 4.1.3.
  • Criterion 2: The new install_on_debian_testing scenario passes on the upstream PR branch.
    Verification: Run devcontainer features test -f docker-in-docker --skip-autogenerated --filter install_on_debian_testing . on the branch and confirm exit code 0.
  • Criterion 3: On the upstream PR branch, a debian:testing install with moby:true fails with an error message that names 'forky', not 'trixie'.
    Verification: Run a manual devcontainer build with debian:testing and moby:true on the branch; the output must contain the string 'forky' in the Moby-unsupported error and must not contain 'trixie' in that message.
  • Criterion 4: After upstream merges or closes the PR, commit 1f2ab5c is reverted on this fork's main, main contains upstream main, and the only local additions are the roadmap files.
    Verification: Run git log --oneline main to confirm 1f2ab5c is absent, then git diff upstream/main main --stat and confirm the output lists only .github/roadmap.toml and .github/labels.yml.

Key questions

  • Should the forky-to-trixie mapping apply to both the Moby and Docker CE install paths?: No. The mapping should apply only when moby is false (the Docker CE path), so the Moby checks still see 'forky' and produce a correct error message naming the actual codename. (proposed) [sources: src/docker-in-docker/install.sh:254-257]
  • What version should docker-in-docker be bumped to in the upstream PR?: 4.1.3, the next patch version above upstream's current 4.1.2 at cf6f1cd, following the same patch-bump pattern upstream used for Ubuntu resolute support in 3959c62. (proposed) [sources: src/docker-in-docker/devcontainer-feature.json:3]
  • What should happen to the fork's copy of the patch after the upstream PR is resolved?: Revert 1f2ab5c on main regardless of whether upstream merges or closes the PR, then sync main with upstream via a merge (Sync fork button or merge-upstream API), never a reset, to preserve the roadmap files. (proposed) [sources: .github/roadmap.toml]
  • Does download.docker.com publish a 'forky' dist?: No. As of 2026-10-09 its linux/debian/dists/ listed bookworm, bullseye, buster, jessie, stretch, trixie and wheezy, but no forky, which is why the mapping is needed for the Docker CE path. [sources: src/docker-in-docker/install.sh:254-257]
  • Does the fork publish feature images or is the patched copy referenced anywhere?: No. The fork publishes no feature images, nothing references ghcr.io/dan-petty/devcontainer-features, and the owner's dev container uses the upstream feature with a /etc/os-release rewrite instead. [sources: src/docker-in-docker/devcontainer-feature.json:3]

Fit

Needs splitting into 2 items:

  1. Open a PR against devcontainers/features: cherry-pick 1f2ab5c onto upstream main, scope the forky-to-trixie mapping to the moby=false path, add an install_on_debian_testing scenario, bump docker-in-docker to 4.1.3, and run the scenario test.
  2. After upstream merges or closes the PR: revert 1f2ab5c on this fork's main and sync main with upstream via merge, leaving only .github/roadmap.toml and .github/labels.yml as local additions.

Suspected block

The upstream PR is gated on devcontainers/features maintainers reviewing and either merging or closing it, and on the owner agreeing to the Microsoft CLA (CONTRIBUTING.md:46-47).

Dependencies

None.
[end-marker]

Proposed design

Problem statement

The fork contains an untested, unversioned patch (1f2ab5c) that unconditionally maps Debian's testing codename 'forky' to 'trixie' in the docker-in-docker install script. This produces misleading Moby error messages (naming 'trixie' instead of 'forky') and bypasses the codename check. Nothing in the fork or the owner's environment uses the patched copy, and the change was merged with no CI runs. The fix should be sent upstream to devcontainers/features with the mapping scoped to the Docker CE path only, a proper test scenario, and a version bump, after which the fork's copy is reverted and main is synced with upstream.

Acceptance criteria

  • Criterion 1: A PR against devcontainers/features adds the forky-to-trixie mapping scoped to the Docker CE path (moby=false), an install_on_debian_testing scenario using debian:testing with moby:false, and bumps docker-in-docker to 4.1.3.
    Verification: Review the PR diff on devcontainers/features: install.sh applies the mapping only inside the moby=false branch, scenarios.json contains an install_on_debian_testing entry, and devcontainer-feature.json shows version 4.1.3.
  • Criterion 2: The new install_on_debian_testing scenario passes on the upstream PR branch.
    Verification: Run devcontainer features test -f docker-in-docker --skip-autogenerated --filter install_on_debian_testing . on the branch and confirm exit code 0.
  • Criterion 3: On the upstream PR branch, a debian:testing install with moby:true fails with an error message that names 'forky', not 'trixie'.
    Verification: Run a manual devcontainer build with debian:testing and moby:true on the branch; the output must contain the string 'forky' in the Moby-unsupported error and must not contain 'trixie' in that message.
  • Criterion 4: After upstream merges or closes the PR, commit 1f2ab5c is reverted on this fork's main, main contains upstream main, and the only local additions are the roadmap files.
    Verification: Run git log --oneline main to confirm 1f2ab5c is absent, then git diff upstream/main main --stat and confirm the output lists only .github/roadmap.toml and .github/labels.yml.

Key questions

  • Should the forky-to-trixie mapping apply to both the Moby and Docker CE install paths?: No. The mapping should apply only when moby is false (the Docker CE path), so the Moby checks still see 'forky' and produce a correct error message naming the actual codename. (proposed) [sources: src/docker-in-docker/install.sh:254-257]
  • What version should docker-in-docker be bumped to in the upstream PR?: 4.1.3, the next patch version above upstream's current 4.1.2 at cf6f1cd, following the same patch-bump pattern upstream used for Ubuntu resolute support in 3959c62. (proposed) [sources: src/docker-in-docker/devcontainer-feature.json:3]
  • What should happen to the fork's copy of the patch after the upstream PR is resolved?: Revert 1f2ab5c on main regardless of whether upstream merges or closes the PR, then sync main with upstream via a merge (Sync fork button or merge-upstream API), never a reset, to preserve the roadmap files. (proposed) [sources: .github/roadmap.toml]
  • Does download.docker.com publish a 'forky' dist?: No. As of 2026-10-09 its linux/debian/dists/ listed bookworm, bullseye, buster, jessie, stretch, trixie and wheezy, but no forky, which is why the mapping is needed for the Docker CE path. [sources: src/docker-in-docker/install.sh:254-257]
  • Does the fork publish feature images or is the patched copy referenced anywhere?: No. The fork publishes no feature images, nothing references ghcr.io/dan-petty/devcontainer-features, and the owner's dev container uses the upstream feature with a /etc/os-release rewrite instead. [sources: src/docker-in-docker/devcontainer-feature.json:3]

Fit

Needs splitting into 2 items:

  1. Open a PR against devcontainers/features: cherry-pick 1f2ab5c onto upstream main, scope the forky-to-trixie mapping to the moby=false path, add an install_on_debian_testing scenario, bump docker-in-docker to 4.1.3, and run the scenario test.
  2. After upstream merges or closes the PR: revert 1f2ab5c on this fork's main and sync main with upstream via merge, leaving only .github/roadmap.toml and .github/labels.yml as local additions.

Suspected block

The upstream PR is gated on devcontainers/features maintainers reviewing and either merging or closing it, and on the owner agreeing to the Microsoft CLA (CONTRIBUTING.md:46-47).

Dependencies

None.

Alternatives check of 2026-11-12: in-use.
The repository already uses this tool.
Tool: devcontainers/features (https://github.com/devcontainers/features), MIT, last activity 2026-11-11, maintained.

Activity

  1. added
    type/bug
    source/agent
    on Oct 9, 2026
  2. dan-petty-bot commented on Oct 9, 2026

    @dan-petty-bot
    Collaborator

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Priority: P3-Low. Nothing uses the fork's patched copy, the fork publishes no images, and the owner already works around the issue, so there is no urgent user impact.
    • Value: Low. No user currently depends on the fork's copy and the forky codename is a transient testing name, so the change is purely code-hygiene and upstream-citizenship value.
    • Effort: Medium. It requires cherry-picking, modifying the mapping logic, adding a test scenario, bumping the version, running the devcontainer test suite, opening and iterating on an upstream PR, then reverting and syncing the fork.
  3. dan-petty-bot commented on Oct 9, 2026

    @dan-petty-bot
    Collaborator

    Proposal needs splitting into 2 items at 5b62889 (see proposed design in issue body).

  4. dan-petty-bot commented on Oct 10, 2026

    @dan-petty-bot
    Collaborator

    Proposal needs splitting into 2 items at 5b62889 (see proposed design in issue body).

  5. added
    status/new
    value/low
    effort/medium
    on Oct 28, 2026
  6. devops-cli-service commented on Oct 28, 2026

    @devops-cli-service
    Contributor

    Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.

    • Priority: P2-Medium. Nothing uses the patched copy, but the untested and unversioned code is a maintenance debt.
    • Value: Low. No user depends on the fork copy, so the value is limited to code hygiene and upstream contribution.
    • Effort: Medium. The work spans cherry-pick, logic fix, test scenario, version bump, test run, upstream PR, and later revert and sync.
  7. added
    priority/p2-medium
    on Oct 28, 2026
  8. devops-cli-service commented on Oct 29, 2026

    @devops-cli-service
    Contributor

    Alternatives check: not-applicable

    Tool: none found

    Checked on 2026-10-29. A person decides what this means for the item. The check changes no label and closes no issue.

  9. changed the title [-]fix(docker-in-docker): send the untested forky-as-trixie patch upstream and drop it from the fork[/-] [+]fix(docker-in-docker): Send forky-as-trixie patch upstream, drop from fork[/+] on Nov 6, 2026
  10. devops-cli-service commented on Nov 6, 2026

    @devops-cli-service
    Contributor

    The job shortened the title of this item. The summary had 74 characters, and the limit is 60. The type and the scope stay.

    • Before: fix(docker-in-docker): send the untested forky-as-trixie patch upstream and drop it from the fork
    • After: fix(docker-in-docker): Send forky-as-trixie patch upstream, drop from fork
    • Source of the summary: the background model
  11. devops-cli-service commented on Nov 12, 2026

    @devops-cli-service
    Contributor

    Alternatives check: in-use

    Reason: The searches returned no relevant upstream alternative (only unrelated MDN pages); the only maintained tool that matches the need is the devcontainers/features docker-in-docker feature, which already installs Docker CE on Debian images through a codename map and ships the scenario test harness, but it has no forky (Debian testing/sid) mapping and no install_on_debian_testing scenario. It therefore covers only part of the need, and the issue's remedy is precisely to contribute the remaining piece to that tool upstream and drop the fork's copy.

    The repository already uses this tool.

    Tool: devcontainers/features (https://github.com/devcontainers/features)

    • License: MIT
    • Last activity: 2026-11-11
    • Maintained: yes

    Covers:

    • docker-in-docker feature installs Docker CE on Debian images via a release-codename map (bookworm, bullseye, trixie, etc.)
    • Ships a scenario test suite (test/docker-in-docker/scenarios.json) and a feature-version/release process that the patch and new test can be added to
    • Separates the Moby install path from the Docker CE (moby: false) path, where a codename override can be scoped

    Lacks:

    • No mapping of Debian testing/sid codename forky to a published Docker CE dist, so the Docker CE path fails on debian:testing
    • No install_on_debian_testing scenario, so Debian testing/sid installs are untested upstream
    • The fork's unconditional mapping makes the Moby-unsupported error name trixie instead of forky
    • The fork's copy carries no version bump and is not published or referenced, so it provides no coverage of its own

    Tools considered:

    Searches run:

    • devcontainers features docker-in-docker Debian testing forky codename Docker CE install, results: 5
    • Docker CE install script Debian testing sid unsupported codename mapping trixie, results: 5
    • devcontainers/features docker-in-docker feature, results: 5
    • docker-in-docker devcontainer feature debian testing support, results: 5
    • Debian forky release codename, results: 5
    • Docker in Docker devcontainer feature, results: 5
    • devcontainer features docker-in-docker github, results: 5
    • moby install script unsupported Debian version testing, results: 5

    Sources:

    Checked on 2026-11-12. A person decides what this means for the item. The check changes no label and closes no issue.

  12. removed
    status/new
    on Nov 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/mediumpriority/p2-mediumsource/agenttype/bugvalue/low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions