mathieu-benoit / mathieu-benoit/devcontainers

Docker-in-Docker feature with `moby: true` not working on `trixie`

オープン
#1 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Shell
スター
1
フォーク
1
PR マージ指標
30日以内にマージされた PR はありません

説明

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: false when the base image is built on debian trixie.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

.devcontainer/dhi-docker/Dockerfile から始めます。issue ではこれを bookworm の回避策として特定しているため、そのベースイメージを失敗する trixie のセットアップと比較してください。moby: true を指定して Docker-in-Docker 機能を再現し、続いてリンクされている upstream issue を確認して、このリポジトリがベースイメージを変更すべきか、それとも moby: false の回避策を文書化するだけでよいかを判断してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
debian, docker
領域
devops, infrastructure
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。