error getting credentials when using features
メンテナーはふだん 8 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- docker, docker-compose
- 領域
- devops, infrastructure
調査の方向性
提供された devcontainer 構成で feature build を再現することから始め、.devcontainer/docker-compose.yaml と生成された Dockerfile-with-features を調査します。docker.io/docker/dockerfile:1.4 に対する Docker 認証情報の解決に失敗している箇所を追跡します。原因を特定し、Docker-in-Docker feature build を正常に完了できることが検証された方法を文書化または実装できれば完了です。
索引モデルが issue の本文から書いたものです。
説明
I am trying to use features in my local devcontainer but it seems whenever I attempt to build with them I get the following error:
[+] Building 0.5s (1/2) docker:desktop-linux
[+] Building 0.6s (2/2) FINISHED docker:desktop-linux
=> [workstation internal] load build definition from Dockerfile-with-features 0.0s
=> => transferring dockerfile: 7.27kB 0.0s
=> ERROR [workstation] resolve image config for docker-image://docker.io/docker/dockerfile:1.4 0.6s
------
> [workstation] resolve image config for docker-image://docker.io/docker/dockerfile:1.4:
------
failed to solve: failed to resolve source metadata for docker.io/docker/dockerfile:1.4: error getting credentials - err: exit status 1, out: ``
Error: Command failed: docker compose --project-name monorepo_devcontainer -f /Users/alitamoore/github/wovenmind/monorepo/.devcontainer/docker-compose.yaml -f /var/folders/7v/lhcpl9r97f7f93b3s84jzpxh0000gn/T/devcontainercli/docker-compose/docker-compose.devcontainer.build-1721245662900.yml build
at Km (/Users/alitamoore/.nvm/versions/node/v20.9.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:430:525)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async QtA (/Users/alitamoore/.nvm/versions/node/v20.9.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:430:2476)
at async utA (/Users/alitamoore/.nvm/versions/node/v20.9.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:410:3506)
at async KtA (/Users/alitamoore/.nvm/versions/node/v20.9.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:482:3944)
at async eB (/Users/alitamoore/.nvm/versions/node/v20.9.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:482:4886)
at async hrA (/Users/alitamoore/.nvm/versions/node/v20.9.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:663:200)
at async lrA (/Users/alitamoore/.nvm/versions/node/v20.9.0/lib/node_modules/@devcontainers/cli/dist/spec-node/devContainersSpecCLI.js:662:13452)
{"outcome":"error","message":"Command failed: docker compose --project-name monorepo_devcontainer -f /Users/alitamoore/github/wovenmind/monorepo/.devcontainer/docker-compose.yaml -f /var/folders/7v/lhcpl9r97f7f93b3s84jzpxh0000gn/T/devcontainercli/docker-compose/docker-compose.devcontainer.build-1721245662900.yml build","description":"An error occurred building the Docker Compose images."}
For reference here's my devcontainer file:
{
"dockerComposeFile": "docker-compose.yaml",
"service": "workstation",
"privileged": true,
"features": {
"ghcr.io/devcontainers/features/docker-in-docker:1": {
"version": "latest",
"moby": true
}
}
}
- 主要言語
- Shell
- スター
- 1.5k
- フォーク
- 624
- 平均マージ
- 7日 1時間
- マージ済み PR(30日)
- 6
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
devcontainers/features のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
devcontainers/features#1730 ·
メンテナーはふだん 8 日以内に返信
-
Version resolution over unauthenticated git makes feature installs fail hard, with no fallback対応中かも @v-Kaniska244 が 31 日前に担当しました。 オープン
devcontainers/features#1726 · コメント 2 件 · 担当者 1 名 ·
メンテナーはふだん 8 日以内に返信
-
[docker-in-docker] v4 with iptablesSwitchAtRuntime:true default on Ubuntu 26.04 host/devcontainer image activates iptables-legacy instead of iptables-nft再び着手できるかも @v-Kaniska244 が 48 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
devcontainers/features#1709 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 8 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
devcontainers/features#1707 ·
メンテナーはふだん 8 日以内に返信
-
Parser failure on "localEnv:" in devcontainer-feature.json再び着手できるかも @v-Kaniska244 が 63 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
devcontainers/features#1704 · リアクション 1 件 · 担当者 1 名 ·
メンテナーはふだん 8 日以内に返信
devcontainers/features の issue をすべて見る
似ている issue
-
Lid close does not lock the session on Apple Silicon (lid-close bind skips omarchy-system-lid-close)オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 90/100
omacom/omarchy-mac#701 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
A 20.x release after 21.0.0 would move `latest` back to 20.x, and `next` stays on the release candidate対応中かも @armando-navarro が今日担当しました。 オープンcomp: build/pipeline type: bug version: current (v17+)
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
angular/angularfire#3790 ·
メンテナーはふだん 3 日以内に返信
-
ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
LucasSantana-Dev/Lucky#2698 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
collabnix/awesome-mcp-lists#179 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100