microsoft / vscode-remote-try-java

Java sample project for trying out Dev Containers
https://aka.ms/vscode-remote/containers/getting-started
MIT License
301 stars 433 forks source link

unable to find user vscode: no matching entries in passwd file #19

Closed JasonFreeberg closed 3 years ago

JasonFreeberg commented 3 years ago

I copied the .devcontainer/ contents of this project to a fresh VS Code project, and now when I start the dev container I get this error message. Any idea what's going on? My impression was I could copy the .devcontainer/ contents as a starting point for a new Java project using dev containers

[2021-03-04T19:48:42.030Z] [PID 23764] [16 ms] Remote-Containers 0.158.0 in VS Code 1.53.2 (622cb03f7e070a9670c94bae1a45d78d7181fbd4).
[2021-03-04T19:48:42.073Z] [PID 23764] [60 ms] Start: Resolving Remote
[2021-03-04T19:48:42.075Z] [PID 23764] [62 ms] Setting up container for folder or workspace: c:\Users\jafreebe\Documents\GitHub\event-processing-java

[2021-03-04T19:48:42.092Z] [PID 23764] [79 ms] Start: Check Docker is running
[2021-03-04T19:48:42.092Z] [PID 23764] [79 ms] Start: Run: docker version --format {{.Server.APIVersion}}
[2021-03-04T19:48:42.543Z] [PID 23764] [530 ms] Server API version: 1.41
[2021-03-04T19:48:42.665Z] [PID 23764] [652 ms] Start: Run: git rev-parse --show-cdup
[2021-03-04T19:48:42.750Z] [PID 23764] [737 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\jafreebe\Documents\GitHub\event-processing-java --filter label=vsch.quality=stable
[2021-03-04T19:48:43.314Z] [PID 23764] [1301 ms] Start: Run: docker inspect --type container d928dd859bea
[2021-03-04T19:48:43.989Z] [PID 23764] [1976 ms] Start: Starting container
[2021-03-04T19:48:43.989Z] [PID 23764] [1976 ms] Start: Run: docker start d928dd859beabcdd748dcdd4f605a70c0fc2e84fd6fe746b939c7c9b25c52d42
[2021-03-04T19:48:45.794Z] [PID 23764] [3781 ms] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\jafreebe\Documents\GitHub\event-processing-java --filter label=vsch.quality=stable
[2021-03-04T19:48:46.384Z] [PID 23764] [4371 ms] Start: Run: docker inspect --type container d928dd859bea
[2021-03-04T19:48:46.878Z] [PID 23764] [4865 ms] Start: Inspecting container
[2021-03-04T19:48:46.879Z] [PID 23764] [4866 ms] Start: Run: docker inspect --type container d928dd859beabcdd748dcdd4f605a70c0fc2e84fd6fe746b939c7c9b25c52d42
[2021-03-04T19:48:47.376Z] [PID 23764] [5363 ms] Start: Run: docker exec -i -u vscode -e VSCODE_REMOTE_CONTAINERS_SESSION=fe79734d-41ed-4b2d-8a09-8ef28af19aa81614887321210 d928dd859beabcdd748dcdd4f605a70c0fc2e84fd6fe746b939c7c9b25c52d42 /bin/sh
[2021-03-04T19:48:47.392Z] [PID 23764] [5379 ms] Start: Run in container: uname -m
[2021-03-04T19:48:47.936Z] [PID 23764] [5923 ms] Start: Run in container: cat /etc/passwd
[2021-03-04T19:48:47.936Z] [PID 23764] [5923 ms] Stdin closed!
[2021-03-04T19:48:47.940Z] [PID 23764] [5927 ms] Shell server terminated (code: 126, signal: null)
unable to find user vscode: no matching entries in passwd file
nishadz commented 2 years ago

How did you fix this?