Unable to install Compose from the Docker-in-Docker feature on top of DHI
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- docker, docker-compose
- 領域
- devops, infrastructure
調査の方向性
参照されている .devcontainer/dhi-docker/devcontainer.json から始め、Docker-in-Docker feature を使ってビルドを再現します。次に、src/docker-in-docker/install.sh の 681 行目付近と curl の失敗を調べ、表示されているログを使って Compose を書き込めない理由を追跡します。dockerDashComposeVersion を none に設定せずに feature が Compose を正常にインストールできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
When using this https://github.com/mathieu-benoit/devcontainers/blob/f7861d318deade9859072e001f6521839ad7b057/.devcontainer/dhi-docker/devcontainer.json, getting this error:
22.37 Finished installing docker / moby!
22.44 compose_version=2.40.3
22.44 (*) Installing docker-compose 2.40.3...
22.57 curl: (23) Failure writing output to destination
22.57
22.57 (!) Failed to fetch the latest artifacts for docker-compose v2.40.3...
22.57
22.57 (!) Failed to fetch the latest artifacts for docker-compose v2.40.3...
23.48
23.48 Attempting to find latest version using GitHub Api.
23.54 compose_version=5.0.0
23.54
23.54 Attempting to install v5.0.0
23.70 curl: (23) Failure writing output to destination
23.70 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.
------
[+] build 0/1
⠙ Image dhi-docker-workspace Building 27.8s
This is the error:
curl: (23) Failure writing output to destination
Failing here: https://github.com/devcontainers/features/blob/main/src/docker-in-docker/install.sh#L681C139-L681C158.
If changing this below, going further, but need to have compose in there, so need to find a solution:
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"moby": true,
- "version": "latest"
+ "version": "latest",
+ "dockerDashComposeVersion": "none"
}
},
- 主要言語
- Shell
- スター
- 1
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
mathieu-benoit/devcontainers のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
mathieu-benoit/devcontainers の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
danielmiessler/LifeOS#2218 ·
-
docs(agents): strengthen the no-backslash-escaped-backticks rule with an issue-creation example オープン
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
-
technical-debt
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
ll7/robot_sf_ll7#9560 ·
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
oSoWoSo/vOid_Community_repOsitory#148 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100