mathieu-benoit / mathieu-benoit/devcontainers
Docker-in-Docker feature with `moby: true` not working on `trixie`
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 1
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
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.
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.
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.
Assessment
- Tech stack
- debian, docker
- Domain
- devops, infrastructure
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100