microsoft / vscode-remote-release

Visual Studio Code Remote Development: Open any folder in WSL, in a Docker container, or on a remote machine using SSH and take advantage of VS Code's full feature set.
https://aka.ms/vscode-remote
Other
3.66k stars 288 forks source link

devcontainer: Command in container failed: check-requirements.sh #9769

Closed henrikig closed 6 months ago

henrikig commented 6 months ago

Type: Bug

image

We're having trouble opening devcontainer with the amazonlinux:2 base image after upgrading to version 1.88.0 of VS Code on Windows. The process fails with exit code 100 and the below message:

[2024-04-10T10:47:24.914Z] Command in container failed: '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/bin/helpers/check-requirements.sh'

Accoding to the the content in the script check-requirements-linux.sh, exit code 100 implies use of the legacy server. However, in our case the devcontainer simply won't start up with the provided error message and a dialog box as in the following image:

image

See below for more logs.

System Info |Item|Value| |---|---| |CPUs|12th Gen Intel(R) Core(TM) i5-1245U (12 x 2496)| |GPU Status|2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled vulkan: disabled_off webgl: enabled webgl2: enabled webgpu: enabled| |Load (avg)|| |Memory (System)|15.64GB (3.29GB free)| |Process Argv|--crash-reporter-id 1937adc1-cf77-46f4-9701-8c6e6c19961b| |Screen Reader|no| |VM|0%|
Logs ``` [2024-04-10T10:45:09.333Z] Dev Containers 0.342.0 in VS Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c). [2024-04-10T10:45:09.333Z] Start: Resolving Remote [2024-04-10T10:45:09.339Z] Setting up container for folder or workspace: c:\Users\ [2024-04-10T10:45:09.341Z] Start: Run: wsl -l -v [2024-04-10T10:45:09.450Z] Stop (109 ms): Run: wsl -l -v [2024-04-10T10:45:09.451Z] Start: Run: wsl -d docker-desktop -e /bin/sh -c echo ~ [2024-04-10T10:45:09.631Z] Stop (180 ms): Run: wsl -d docker-desktop -e /bin/sh -c echo ~ [2024-04-10T10:45:09.634Z] Start: Run: wsl -d docker-desktop -e /bin/sh -c cd '/root' && /bin/sh [2024-04-10T10:45:09.649Z] Start: Run in host: id -un [2024-04-10T10:45:09.738Z] root [2024-04-10T10:45:09.738Z] [2024-04-10T10:45:09.738Z] Stop (89 ms): Run in host: id -un [2024-04-10T10:45:09.738Z] Start: Run in host: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) [2024-04-10T10:45:09.740Z] Stop (2 ms): Run in host: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) [2024-04-10T10:45:09.741Z] Start: Run in host: echo ~ [2024-04-10T10:45:09.743Z] /root [2024-04-10T10:45:09.743Z] [2024-04-10T10:45:09.743Z] Stop (2 ms): Run in host: echo ~ [2024-04-10T10:45:09.743Z] Start: Run in host: test -x '/root/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node' [2024-04-10T10:45:09.745Z] [2024-04-10T10:45:09.745Z] [2024-04-10T10:45:09.745Z] Stop (2 ms): Run in host: test -x '/root/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node' [2024-04-10T10:45:09.745Z] Start: Run in host: test -f '/root/.vscode-remote-containers/dist/vscode-remote-containers-server-0.342.0.js' [2024-04-10T10:45:09.747Z] [2024-04-10T10:45:09.747Z] [2024-04-10T10:45:09.747Z] Stop (2 ms): Run in host: test -f '/root/.vscode-remote-containers/dist/vscode-remote-containers-server-0.342.0.js' [2024-04-10T10:45:09.748Z] userEnvProbe: loginInteractiveShell (default) [2024-04-10T10:45:09.748Z] userEnvProbe: not found in cache [2024-04-10T10:45:09.748Z] userEnvProbe shell: /bin/ash [2024-04-10T10:45:09.750Z] Host server: /bin/sh: /root/.vscode-remote-containers/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/node: not found [2024-04-10T10:45:09.812Z] Error reading shell environment. [2024-04-10T10:45:09.812Z] Error: stream ended with:0 but wanted:9 at l (c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\extension\extension.js:27:22149) at c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\extension\extension.js:27:22330 at s (c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\extension\extension.js:30:5371) at Socket. (c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\extension\extension.js:30:5541) at Socket.emit (node:events:529:35) at endReadableNT (node:internal/streams/readable:1368:12) at process.processTicksAndRejections (node:internal/process/task_queues:82:21) [2024-04-10T10:45:09.813Z] Could not connect to WSL. [2024-04-10T10:45:09.813Z] stream is closed [2024-04-10T10:45:09.813Z] Start: Check Docker is running [2024-04-10T10:45:09.813Z] Start: Run: docker version [2024-04-10T10:45:09.814Z] Stop (180 ms): Run: wsl -d docker-desktop -e /bin/sh -c cd '/root' && /bin/sh [2024-04-10T10:45:09.814Z] Host server terminated (code: 127, signal: null). [2024-04-10T10:45:11.217Z] Client: Cloud integration: v1.0.35-desktop+001 Version: 24.0.5 API version: 1.43 Go version: go1.20.6 Git commit: ced0996 Built: Fri Jul 21 20:36:24 2023 OS/Arch: windows/amd64 Context: default Server: Docker Desktop 4.22.0 (117440) Engine: Version: 24.0.5 API version: 1.43 (minimum version 1.12) Go version: go1.20.6 Git commit: a61e2b4 Built: Fri Jul 21 20:35:45 2023 OS/Arch: linux/amd64 Experimental: false containerd: Version: 1.6.21 GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8 runc: Version: 1.1.7 GitCommit: v1.1.7-0-g860f061 docker-init: Version: 0.19.0 GitCommit: de40ad0 [2024-04-10T10:45:11.228Z] Stop (1415 ms): Run: docker version [2024-04-10T10:45:11.228Z] Stop (1415 ms): Check Docker is running [2024-04-10T10:45:11.229Z] Start: Run: docker volume ls -q [2024-04-10T10:45:12.582Z] Stop (1353 ms): Run: docker volume ls -q [2024-04-10T10:45:12.582Z] Start: Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\ --filter label=vsch.quality=stable [2024-04-10T10:45:13.973Z] Stop (1391 ms): Run: docker ps -q -a --filter label=vsch.local.folder=c:\Users\ --filter label=vsch.quality=stable [2024-04-10T10:45:13.974Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=c:\Users\ --filter label=devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json [2024-04-10T10:45:15.291Z] Stop (1317 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=c:\Users\ --filter label=devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json [2024-04-10T10:45:15.292Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=c:\Users\ [2024-04-10T10:45:16.595Z] Stop (1303 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=c:\Users\ [2024-04-10T10:45:16.595Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=c:\Users\ [2024-04-10T10:45:18.393Z] Stop (1798 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=c:\Users\ [2024-04-10T10:45:18.402Z] ProxyResolver#loadSystemCertificates count [2024-04-10T10:45:18.404Z] ProxyResolver#loadSystemCertificates count filtered [2024-04-10T10:45:18.404Z] Start: Run: C:\Users\\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\spec-node\devContainersSpecCLI.js read-configuration --workspace-folder c:\Users\ --id-label devcontainer.local_folder=c:\Users\ --id-label devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json --log-level debug --log-format json --config c:\Users\\.devcontainer\devcontainer.json --mount-workspace-git-root [2024-04-10T10:45:19.165Z] @devcontainers/cli 0.56.0. Node.js v18.18.2. win32 10.0.19045 x64. [2024-04-10T10:45:19.165Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=c:\Users\ --filter label=devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json [2024-04-10T10:45:20.518Z] Stop (1353 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=c:\Users\ --filter label=devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json [2024-04-10T10:45:20.533Z] Stop (2129 ms): Run: C:\Users\\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\spec-node\devContainersSpecCLI.js read-configuration --workspace-folder c:\Users\ --id-label devcontainer.local_folder=c:\Users\ --id-label devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json --log-level debug --log-format json --config c:\Users\\.devcontainer\devcontainer.json --mount-workspace-git-root [2024-04-10T10:45:20.533Z] Start: Run: C:\Users\\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --container-session-data-folder /tmp/devcontainers-f0960ce9-449d-4719-9a01-626cc43bed381712745906768 --workspace-folder c:\Users\ --workspace-mount-consistency cached --id-label devcontainer.local_folder=c:\Users\ --id-label devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json --log-level debug --log-format json --config c:\Users\\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --terminal-columns 190 --terminal-rows 41 [2024-04-10T10:45:21.470Z] @devcontainers/cli 0.56.0. Node.js v18.18.2. win32 10.0.19045 x64. [2024-04-10T10:45:21.470Z] Start: Run: docker buildx version [2024-04-10T10:45:24.341Z] Stop (2871 ms): Run: docker buildx version [2024-04-10T10:45:24.341Z] github.com/docker/buildx v0.11.2-desktop.1 986ab6afe790e25f022969a18bc0111cff170bc2 [2024-04-10T10:45:24.341Z] [2024-04-10T10:45:24.341Z] Start: Resolving Remote [2024-04-10T10:45:24.349Z] Start: Run: docker-compose version --short [2024-04-10T10:45:28.221Z] Stop (3872 ms): Run: docker-compose version --short [2024-04-10T10:45:28.222Z] Docker Compose version: 2.20.2-desktop.1 [2024-04-10T10:45:28.224Z] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=_devcontainer --filter label=com.docker.compose.service=vscode [2024-04-10T10:45:29.529Z] Stop (1305 ms): Run: docker ps -q -a --filter label=com.docker.compose.project=_devcontainer --filter label=com.docker.compose.service=vscode [2024-04-10T10:45:29.529Z] Start: Run: docker-compose -f c:\Users\\.devcontainer\docker-compose.yaml --profile * config [2024-04-10T10:45:32.819Z] Stop (3290 ms): Run: docker-compose -f c:\Users\\.devcontainer\docker-compose.yaml --profile * config [2024-04-10T10:45:32.819Z] name: devcontainer services: vscode: build: context: c:\Users\\.devcontainer dockerfile: Dockerfile entrypoint: - bash - -c - while sleep 1000; do :; done environment: N_USER: null NETEZZA_PWD: null networks: default: null volumes: - type: bind source: c:\Users\ target: /workspace bind: create_host_path: true - type: bind source: c:\Users\\.devcontainer\.dbt target: /root/.dbt bind: create_host_path: true networks: default: name: devcontainer_default [2024-04-10T10:45:32.822Z] Start: Run: docker events --format {{json .}} --filter event=start [2024-04-10T10:45:32.847Z] PersistedPath=c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data, ContainerHasLabels=false [2024-04-10T10:45:32.849Z] Start: Run: docker-compose -f c:\Users\\.devcontainer\docker-compose.yaml --profile * config [2024-04-10T10:45:36.446Z] Stop (3597 ms): Run: docker-compose -f c:\Users\\.devcontainer\docker-compose.yaml --profile * config [2024-04-10T10:45:36.447Z] name: devcontainer services: vscode: build: context: c:\Users\\.devcontainer dockerfile: Dockerfile entrypoint: - bash - -c - while sleep 1000; do :; done networks: default: null volumes: - type: bind source: c:\Users\ target: /workspace bind: create_host_path: true - type: bind source: c:\Users\\.devcontainer\.dbt target: /root/.dbt bind: create_host_path: true networks: default: name: devcontainer_default [2024-04-10T10:45:36.451Z] Start: Run: docker inspect --type image 878618372939.dkr.ecr.eu-west-1.amazonaws.com/dbtezza:latest [2024-04-10T10:45:37.772Z] Stop (1321 ms): Run: docker inspect --type image 878618372939.dkr.ecr.eu-west-1.amazonaws.com/dbtezza:latest [2024-04-10T10:45:37.785Z] Docker Compose override file for building image: version: "3.8" services: vscode: build: dockerfile: C:\Users\\AppData\Local\Temp\devcontainercli\container-features\0.56.0-1712745937772\Dockerfile-with-features args: - BUILDKIT_INLINE_CACHE=1 - _DEV_CONTAINERS_BASE_IMAGE=dev_container_auto_added_stage_label [2024-04-10T10:45:37.787Z] Start: Run: docker-compose --project-name _devcontainer -f c:\Users\\.devcontainer\docker-compose.yaml -f c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.build-1712745937785.yml build vscode [+] Building 0.0s (0/0) docker:default ... [+] Building 71.6s (10/10) FINISHED docker:default [2024-04-10T10:46:53.485Z] Stop (75698 ms): Run: docker-compose --project-name _devcontainer -f c:\Users\\.devcontainer\docker-compose.yaml -f c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.build-1712745937785.yml build vscode [2024-04-10T10:46:53.488Z] Docker Compose override file for creating container: version: "3.8" services: 'vscode': entrypoint: ["/bin/sh", "-c", "echo Container started\n trap \"exit 0\" 15\n \n exec \"$$@\"\n while sleep 1 & wait $$!; do :; done", "-", "bash", "-c", "while sleep 1000; do :; done"] command: [] labels: - 'devcontainer.local_folder=c:\Users\' - 'devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json' volumes: - vscode:/vscode volumes: vscode: external: true [2024-04-10T10:46:53.488Z] Writing docker-compose.devcontainer.containerFeatures-1712746013488.yml to c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose [2024-04-10T10:46:53.491Z] Start: Run: docker-compose --project-name _devcontainer -f c:\Users\\.devcontainer\docker-compose.yaml -f c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.build-1712745937785.yml -f c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.containerFeatures-1712746013488.yml up -d vscode [2024-04-10T10:46:53.708Z] [2024-04-10T10:46:57.170Z] [+] Running 0/0 - Container _devcontainer-vscode-1 Creating 0.1s [2024-04-10T10:46:57.200Z] [2024-04-10T10:46:57.265Z] [+] Running 0/1 - Container _devcontainer-vscode-1 Creating 0.2s [2024-04-10T10:46:57.296Z] [2024-04-10T10:46:57.387Z] - Container _devcontainer-vscode-1 Starting 0.3s [2024-04-10T10:46:57.480Z] - Container _devcontainer-vscode-1 Starting 0.4s [2024-04-10T10:46:57.575Z] - Container _devcontainer-vscode-1 Starting 0.5s [2024-04-10T10:46:57.604Z] [2024-04-10T10:46:57.669Z] - Container _devcontainer-vscode-1 Starting 0.6s [2024-04-10T10:46:57.697Z] [2024-04-10T10:46:57.763Z] - Container _devcontainer-vscode-1 Starting 0.7s [2024-04-10T10:46:57.789Z] Stop (84967 ms): Run: docker events --format {{json .}} --filter event=start [2024-04-10T10:46:57.791Z] [+] Running 1/1 ✔ Container _devcontainer-vscode-1 Started 0.7s [2024-04-10T10:46:57.916Z] Stop (4425 ms): Run: docker-compose --project-name _devcontainer -f c:\Users\\.devcontainer\docker-compose.yaml -f c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.build-1712745937785.yml -f c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.containerFeatures-1712746013488.yml up -d vscode [2024-04-10T10:46:57.917Z] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=_devcontainer --filter label=com.docker.compose.service=vscode [2024-04-10T10:46:59.498Z] Stop (1581 ms): Run: docker ps -q -a --filter label=com.docker.compose.project=_devcontainer --filter label=com.docker.compose.service=vscode [2024-04-10T10:46:59.499Z] Start: Run: docker inspect --type container 263e3204cdd1 [2024-04-10T10:47:01.474Z] Stop (1975 ms): Run: docker inspect --type container 263e3204cdd1 [2024-04-10T10:47:01.476Z] Start: Inspecting container [2024-04-10T10:47:01.476Z] Start: Run: docker inspect --type container 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb [2024-04-10T10:47:03.338Z] Stop (1862 ms): Run: docker inspect --type container 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb [2024-04-10T10:47:03.339Z] Stop (1863 ms): Inspecting container [2024-04-10T10:47:03.339Z] Start: Run in container: /bin/sh [2024-04-10T10:47:03.370Z] Start: Run in container: uname -m [2024-04-10T10:47:05.128Z] x86_64 [2024-04-10T10:47:05.128Z] [2024-04-10T10:47:05.128Z] Stop (1758 ms): Run in container: uname -m [2024-04-10T10:47:05.129Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [2024-04-10T10:47:05.136Z] NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" SUPPORT_END="2025-06-30" [2024-04-10T10:47:05.136Z] [2024-04-10T10:47:05.136Z] Stop (7 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [2024-04-10T10:47:05.136Z] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) [2024-04-10T10:47:05.144Z] Stop (8 ms): Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) [2024-04-10T10:47:05.145Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker' [2024-04-10T10:47:05.151Z] [2024-04-10T10:47:05.151Z] [2024-04-10T10:47:05.151Z] Exit code 1 [2024-04-10T10:47:05.151Z] Stop (6 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker' [2024-04-10T10:47:05.152Z] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null [2024-04-10T10:47:05.158Z] [2024-04-10T10:47:05.158Z] [2024-04-10T10:47:05.158Z] Stop (6 ms): Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null [2024-04-10T10:47:05.158Z] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF' [2024-04-10T10:47:05.166Z] [2024-04-10T10:47:05.166Z] [2024-04-10T10:47:05.166Z] Stop (8 ms): Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF' [2024-04-10T10:47:05.166Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker' [2024-04-10T10:47:05.170Z] [2024-04-10T10:47:05.170Z] [2024-04-10T10:47:05.170Z] Exit code 1 [2024-04-10T10:47:05.170Z] Stop (4 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker' [2024-04-10T10:47:05.170Z] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null [2024-04-10T10:47:05.176Z] [2024-04-10T10:47:05.176Z] [2024-04-10T10:47:05.176Z] Stop (6 ms): Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null [2024-04-10T10:47:05.176Z] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true [2024-04-10T10:47:05.183Z] [2024-04-10T10:47:05.183Z] [2024-04-10T10:47:05.183Z] Stop (7 ms): Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true [2024-04-10T10:47:05.184Z] Stop (100843 ms): Resolving Remote [2024-04-10T10:47:05.204Z] Stop (104671 ms): Run: C:\Users\\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\spec-node\devContainersSpecCLI.js up --user-data-folder c:\Users\\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --container-session-data-folder /tmp/devcontainers-f0960ce9-449d-4719-9a01-626cc43bed381712745906768 --workspace-folder c:\Users\ --workspace-mount-consistency cached --id-label devcontainer.local_folder=c:\Users\ --id-label devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json --log-level debug --log-format json --config c:\Users\\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root --terminal-columns 190 --terminal-rows 41 [2024-04-10T10:47:05.205Z] Start: Run: docker inspect --type container 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb [2024-04-10T10:47:07.281Z] Stop (2076 ms): Run: docker inspect --type container 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb [2024-04-10T10:47:07.281Z] Start: Run: docker exec -i -u root 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=f0960ce9-449d-4719-9a01-626cc43bed381712745906768 ; /bin/sh [2024-04-10T10:47:07.284Z] Start: Run: docker-compose version --short [2024-04-10T10:47:09.725Z] New container started. Keep-alive process started. [2024-04-10T10:47:12.596Z] Stop (5312 ms): Run: docker-compose version --short [2024-04-10T10:47:12.599Z] Start: Run: C:\Users\\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\spec-node\devContainersSpecCLI.js read-configuration --workspace-folder c:\Users\ --id-label devcontainer.local_folder=c:\Users\ --id-label devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json --container-id 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb --log-level debug --log-format json --config c:\Users\\.devcontainer\devcontainer.json --include-merged-configuration --mount-workspace-git-root [2024-04-10T10:47:13.774Z] @devcontainers/cli 0.56.0. Node.js v18.18.2. win32 10.0.19045 x64. [2024-04-10T10:47:13.774Z] Start: Run: docker inspect --type container 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb [2024-04-10T10:47:16.237Z] Stop (2463 ms): Run: docker inspect --type container 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb [2024-04-10T10:47:16.252Z] Stop (3653 ms): Run: C:\Users\\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\spec-node\devContainersSpecCLI.js read-configuration --workspace-folder c:\Users\ --id-label devcontainer.local_folder=c:\Users\ --id-label devcontainer.config_file=c:\Users\\.devcontainer\devcontainer.json --container-id 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb --log-level debug --log-format json --config c:\Users\\.devcontainer\devcontainer.json --include-merged-configuration --mount-workspace-git-root [2024-04-10T10:47:16.253Z] Start: Inspecting container [2024-04-10T10:47:16.253Z] Start: Run: docker inspect --type container 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb [2024-04-10T10:47:18.911Z] Stop (2658 ms): Run: docker inspect --type container 263e3204cdd1417068927ddb2820f30203427c3d4766cce1a77ae14eac0b6abb [2024-04-10T10:47:18.911Z] Stop (2658 ms): Inspecting container [2024-04-10T10:47:18.913Z] Start: Run in container: /bin/sh [2024-04-10T10:47:18.962Z] Start: Run in container: uname -m [2024-04-10T10:47:22.098Z] x86_64 [2024-04-10T10:47:22.098Z] [2024-04-10T10:47:22.098Z] Stop (3136 ms): Run in container: uname -m [2024-04-10T10:47:22.098Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [2024-04-10T10:47:22.105Z] NAME="Amazon Linux" VERSION="2" ID="amzn" ID_LIKE="centos rhel fedora" VERSION_ID="2" PRETTY_NAME="Amazon Linux 2" ANSI_COLOR="0;33" CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2" HOME_URL="https://amazonlinux.com/" SUPPORT_END="2025-06-30" [2024-04-10T10:47:22.105Z] [2024-04-10T10:47:22.106Z] Stop (8 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null [2024-04-10T10:47:22.106Z] Start: Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) [2024-04-10T10:47:22.111Z] Stop (5 ms): Run in container: (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true) [2024-04-10T10:47:22.112Z] Start: Updating configuration state [2024-04-10T10:47:22.134Z] Stop (22 ms): Updating configuration state [2024-04-10T10:47:22.135Z] Start: Setup shutdown monitor [2024-04-10T10:47:22.136Z] Forking shutdown monitor: c:\Users\\.vscode\extensions\ms-vscode-remote.remote-containers-0.342.0\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-5da07a56-ec96-441f-beac-ccfa7c8b134f-sock dockerCompose Debug c:\Users\\AppData\Roaming\Code\logs\20240410T123308\window1\exthost\ms-vscode-remote.remote-containers 1712745907928 [2024-04-10T10:47:22.151Z] Stop (16 ms): Setup shutdown monitor [2024-04-10T10:47:22.152Z] Start: Run in container: test -d '/root/.vscode-server' [2024-04-10T10:47:22.157Z] [2024-04-10T10:47:22.157Z] [2024-04-10T10:47:22.157Z] Exit code 1 [2024-04-10T10:47:22.157Z] Stop (5 ms): Run in container: test -d '/root/.vscode-server' [2024-04-10T10:47:22.157Z] Start: Run in container: test -d '/root/.vscode-remote' [2024-04-10T10:47:22.160Z] [2024-04-10T10:47:22.161Z] [2024-04-10T10:47:22.161Z] Exit code 1 [2024-04-10T10:47:22.161Z] Stop (4 ms): Run in container: test -d '/root/.vscode-remote' [2024-04-10T10:47:22.161Z] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null [2024-04-10T10:47:22.166Z] [2024-04-10T10:47:22.167Z] [2024-04-10T10:47:22.167Z] Stop (6 ms): Run in container: test ! -f '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null [2024-04-10T10:47:22.167Z] Start: Run in container: mkdir -p '/root/.vscode-server/data/Machine' && cat >'/root/.vscode-server/data/Machine/settings.json' <<'settingsJSON' [2024-04-10T10:47:22.174Z] [2024-04-10T10:47:22.174Z] [2024-04-10T10:47:22.174Z] Stop (7 ms): Run in container: mkdir -p '/root/.vscode-server/data/Machine' && cat >'/root/.vscode-server/data/Machine/settings.json' <<'settingsJSON' [2024-04-10T10:47:22.175Z] Start: Run in container: test -d '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' [2024-04-10T10:47:22.177Z] [2024-04-10T10:47:22.177Z] [2024-04-10T10:47:22.177Z] Exit code 1 [2024-04-10T10:47:22.177Z] Stop (2 ms): Run in container: test -d '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' [2024-04-10T10:47:22.177Z] Start: Run in container: test -d '/vscode/vscode-server/bin/linux-x64/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' [2024-04-10T10:47:22.179Z] [2024-04-10T10:47:22.180Z] [2024-04-10T10:47:22.180Z] Stop (3 ms): Run in container: test -d '/vscode/vscode-server/bin/linux-x64/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' [2024-04-10T10:47:22.180Z] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' [2024-04-10T10:47:22.186Z] [2024-04-10T10:47:22.186Z] [2024-04-10T10:47:22.186Z] Stop (6 ms): Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' [2024-04-10T10:47:22.186Z] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' [2024-04-10T10:47:22.191Z] [2024-04-10T10:47:22.191Z] [2024-04-10T10:47:22.191Z] Stop (5 ms): Run in container: touch '/vscode/vscode-server/bin/linux-x64/5c3e652f63e798a5ac2f31ffd0d863669328dc4c' [2024-04-10T10:47:22.191Z] Start: Run in container: test -x '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/bin/helpers/check-requirements.sh' [2024-04-10T10:47:22.194Z] [2024-04-10T10:47:22.194Z] [2024-04-10T10:47:22.194Z] Stop (3 ms): Run in container: test -x '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/bin/helpers/check-requirements.sh' [2024-04-10T10:47:22.195Z] Start: Run in container: '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/bin/helpers/check-requirements.sh' [2024-04-10T10:47:24.908Z] Warning: Missing GLIBC >= 2.28! from /usr/lib64/libc-2.26.so Warning: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information. [2024-04-10T10:47:24.909Z] [2024-04-10T10:47:24.909Z] Exit code 100 [2024-04-10T10:47:24.909Z] Stop (2714 ms): Run in container: '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/bin/helpers/check-requirements.sh' [2024-04-10T10:47:24.914Z] Command in container failed: '/root/.vscode-server/bin/5c3e652f63e798a5ac2f31ffd0d863669328dc4c/bin/helpers/check-requirements.sh' [2024-04-10T10:47:24.914Z] Warning: Missing GLIBC >= 2.28! from /usr/lib64/libc-2.26.so Warning: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information. [2024-04-10T10:47:24.914Z] Exit code 100 ```
henrikig commented 6 months ago

Possibly related to microsoft/vscode#210033

chrmarti commented 6 months ago

Please update to Dev Containers 0.354.0 (your log shows 0.342.0).

zhtmike commented 6 months ago

Meet the same problem with Dev Containers 0.354.0 and solved with https://github.com/microsoft/vscode-remote-release/issues/9756#issuecomment-2042283836

henrikig commented 6 months ago

We're not using remote SSH connection. Updating to the latest version of Dev Containers seems to have solved the problem. Thanks!