Consistently getting: command failed: {0} Exit code 1 Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
@chrmarti がすでに取り組んでいます。
2024年7月24日 から。
評価
この issue はまだ評価されていません。
説明
Hi, I'm using docker-compose setup with the latest devcontainer extension 0.375 and the latest VSCode as of now (1.91.0).
The setup was working until I recently rebuilt the project (so I think it has to do with any recent VSCode or this CLI update). I am getting:
Then, looking at the logs I consistently get:
[2024-07-08T13:52:52.612Z]
[2024-07-08T13:52:52.612Z] Stop (1 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2024-07-08T13:52:52.612Z] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[2024-07-08T13:52:52.613Z] Stop (1 ms): Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'vscode' || grep -E '^vscode|^[^:]*:[^:]*:vscode:' /etc/passwd || true)
[2024-07-08T13:52:52.613Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2024-07-08T13:52:52.614Z]
[2024-07-08T13:52:52.614Z]
[2024-07-08T13:52:52.614Z] Stop (1 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2024-07-08T13:52:52.614Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2024-07-08T13:52:52.615Z]
[2024-07-08T13:52:52.615Z]
[2024-07-08T13:52:52.615Z] Stop (1 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2024-07-08T13:52:52.615Z] Stop (249 ms): Resolving Remote
...
I've tried removing all added devcontainer features, changing the base image to the official Ubuntu (mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04), and removing any environment variables. I still get the same message.
Does anyone know what could be the culprit?
Downgrading either the CLI/VSCode could be a workaround but it's not a solution for me.
Thank you!
- 主要言語
- TypeScript
- スター
- 3k
- フォーク
- 461
- 平均マージ
- 18分
- マージ済み PR(30日)
- 5
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
devcontainers/cli のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
devcontainers/cli#1203 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
devcontainers/cli#1178 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
devcontainers/cli#1308 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
devcontainers/cli#1307 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
devcontainers/cli#1305 ·
devcontainers/cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·