Consistently getting: command failed: {0} Exit code 1 Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
@chrmarti is already working on this.
Since Jul 24, 2024.
Assessment
This issue has not been assessed yet.
Description
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!
- Dominant language
- TypeScript
- Stars
- 3k
- Forks
- 461
- Avg merge
- 18m
- Merged PRs (30d)
- 5
Contributor guide
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.
More from devcontainers/cli
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
devcontainers/cli#1203 ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 68/100
devcontainers/cli#1178 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
devcontainers/cli#1308 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 78/100
devcontainers/cli#1307 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
devcontainers/cli#1305 ·
All issues in devcontainers/cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
ontola/atomic-server#1625 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
melgarafael/DeskcommCRM#1451 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
-
bug via-triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bot:ai-assisted component:compact-js status:untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
midnightntwrk/midnight-sdk#403 ·