Docker-in-Docker feature with `moby: true` not working on `trixie`
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- debian, docker
- Domain
- devops, infrastructure
Research direction
Start with .devcontainer/dhi-docker/Dockerfile, which the issue identifies as the bookworm workaround, and compare its base image with the failing trixie setup. Reproduce the Docker-in-Docker feature with moby: true, then review the linked upstream issues to determine whether this repository should change its base image or only document the moby: false workaround.
Written by the indexing model from the issue text.
Description
Docker feature (dind) with moby: true is not supported with trixie:
The 'moby' option is not supported on Debian 'trixie' because 'moby-cli' and related system packages have been removed from that distribution.
0.116 (!) To continue, either set the feature option '"moby": false' or use a different base image (for example: 'debian:bookworm' or 'ubuntu-24.04').
0.116 ERROR: Feature "Docker (Docker-in-Docker)" (ghcr.io/devcontainers/features/docker-in-docker) failed to install! Look at the documentation at https://github.com/devcontainers/features/tree/main/src/docker-in-docker for help troubleshooting this error.
Workaround: use bookworm instead, see here: https://github.com/mathieu-benoit/devcontainers/blob/main/.devcontainer/dhi-docker/Dockerfile#L1.
Related to this https://github.com/devcontainers/features/issues/1494 and this https://github.com/devcontainers/features/issues/1466:
Requesting users to use
moby: falsewhen the base image is built on debian trixie.
- Dominant language
- Shell
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mathieu-benoit/devcontainers
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
All issues in mathieu-benoit/devcontainers
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example Open
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
oSoWoSo/vOid_Community_repOsitory#148 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
chore
Difficulty 1/5 Under an hour Newbie friendliness 91/100
alunduil/alunduil-chezmoi#792 ·