vscode-remote-release icon indicating copy to clipboard operation
vscode-remote-release copied to clipboard

Can't use vscode git commit when inside a devcontainer

Open elieobeid7 opened this issue 6 months ago • 7 comments

I'm using Windows 11 latest version, VScode latest version, docker and doccker desktop, latest version. WSL2 docker integration

When I'm inside a vscode dev container, I can't use the VSCode git integration system to commit or for anything, if I try to commit, I get this error

2025-05-15 13:00:14.371 [info] > git for-each-ref --sort -committerdate --format %(refname)%00%(objectname)%00%(*objectname) [247ms]
2025-05-15 13:00:16.002 [info] > git status -z -uall [1882ms]
2025-05-15 13:01:07.007 [info] > git add -A -- . [1840ms]
2025-05-15 13:01:08.501 [info] > git -c user.useConfigOnly=true commit --quiet --allow-empty-message --file - --signoff -S [1490ms]
2025-05-15 13:01:08.501 [info] error: cannot run ssh-keygen: No such file or directory
error: 
fatal: failed to write commit object

And it's very slow in general to pick up file changes, I tried doing

 git config --global commit.gpgsign false 

problem still there

elieobeid7 avatar May 15 '25 13:05 elieobeid7

@chrmarti, could you please an initial look at this one? Thanks!

lszomoru avatar May 18 '25 12:05 lszomoru

@elieobeid7 Please check the ~/.gitconfig in the dev container. We copy that over from your local machine, is there anything in there that might break inside the container? We already try to remove parts of the config that can't work in the dev container, but maybe we missed something. (Would be good to know what specifically if you can share it.)

chrmarti avatar May 20 '25 08:05 chrmarti

@chrmarti

my current ~/.gitconfig looks like this

[user]
        email = [email protected]
        name = my name
        signingkey = C:\\Users\\myusername\\.ssh\\signature.pub
[gpg]
        format = ssh
[core]
        autocrlf = false
        editor = code --wait -n
        ignorecase = false
[filter "lfs"]
        process = git-lfs filter-process
        required = true
        clean = git-lfs clean -- %f
        smudge = git-lfs smudge -- %f
[rerere]
        enabled = true
[column]
        ui = auto
[branch]
        sort = -committerdate
[rebase]
        updateRefs = true
[commit]
        gpgsign = false
[gpg "ssh"]
        allowedSignersFile = C:\\Users\\myusername\\.ssh\\allowed_signers
[alias]
        lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
    clonef = "!f() { if [ -n \"$3\" ]; then git clone -b \"$1\" --single-branch \"$2\" --depth=1 \"$3\"; else git clone -b \"$1\" --single-branch \"$2\" --depth=1; fi; }; f"
[merge]
        ff = false
        commit = false
[pull]
        rebase = false
        ff = only
[cherry-pick]
        autoCommit = false

[credential]
        helper = "!f() { /root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node /tmp/vscode-remote-containers-8db9e194-e1ae-4aa7-89f3-0670c36f03a9.js git-credential-helper $*; }; f

my .git/config looks like this

[core]
	repositoryformatversion = 0
	filemode = false
	bare = false
	logallrefupdates = true
	symlinks = false
	ignorecase = true
[remote "origin"]
	url = git@repo_url.git
	fetch = +refs/heads/*:refs/remotes/origin/*


[branch "master"]
	remote = origin
	merge = refs/heads/master
	vscode-merge-base = origin/master



I use git over ssh, my git key is not the default id_rsa, it's a key generated by my company ~/.ssh/company_key

elieobeid7 avatar May 21 '25 09:05 elieobeid7

We should remove the signingkey when copying the config over. We should already copy the allowedSignersFile file over, but seems to have failed.

Please append the Dev Containers log from when you rebuild the container. (F1 > Dev Containers: Show Container Log)

chrmarti avatar May 23 '25 08:05 chrmarti

@chrmarti here's the log

 => [fastapi dev_container_auto_added_stage_label 1/6] FROM docker.io/ten  0.0s
 => => resolve docker.io/tensorflow/tensorflow:latest-gpu@sha256:73fe35b6  0.0s
 => [cron internal] load build context                                     0.0s
 => => transferring context: 38B                                           0.0s
 => [background_task internal] load build context                                0.0s
 => => transferring context: 38B                                           0.0s
 => CACHED [background_task 2/6] RUN apt-get update     && DEBIAN_FRONTEND=noni  0.0s
 => CACHED [background_task 3/6] WORKDIR /project                            0.0s
 => CACHED [background_task 4/6] COPY requirements.txt .                         0.0s
 => CACHED [background_task 5/6] RUN pip install --no-cache-dir --upgrade pip    0.0s
 => CACHED [cron 6/6] RUN mkdir -p /project/db  0.0s
 => [background_task] exporting to image                                         0.2s
 => => exporting layers                                                    0.0s
 => => exporting manifest sha256:a774e9aae4c2c64f13600477bc997f44cf3c8919  0.0s
 => => exporting config sha256:66bf397c95e60331fc90ac89c01c6809d856cdc91b  0.0s
 => => exporting attestation manifest sha256:f329524ee86319efef2b1f708390  0.1s
 => => exporting manifest list sha256:60f17b099dcd98bfe2fd705899770fac4e6  0.0s
 => => naming to docker.io/library/project-background_task:latest            0.0s
 => => unpacking to docker.io/library/project-background_task:latest         0.0s
 => [cron] exporting to image                                              0.2s
 => => exporting layers                                                    0.0s
 => => exporting manifest sha256:92232d044d77fcbfdc46ff702eace0b3697a8cf4  0.0s
 => => exporting config sha256:37fe7e08413de9389e2e297fec2370703cee75de31  0.0s
 => => exporting attestation manifest sha256:f45f461f1619b11dd23ca583c867  0.1s
 => => exporting manifest list sha256:09f8a86a145677137487ec1946ea506deed  0.0s
 => => naming to docker.io/library/project-cron:latest                 0.0s
 => => unpacking to docker.io/library/project-cron:latest              0.0s
 => [fastapi internal] load .dockerignore                                  0.0s
 => => transferring context: 2B                                            0.0s
 => [fastapi context dev_containers_feature_content_source] load .dockeri  0.0s
 => => transferring dev_containers_feature_content_source: 2B              0.0s
 => [background_task] resolving provenance for metadata file                     0.0s
 => [cron] resolving provenance for metadata file                          0.0s
 => [fastapi context dev_containers_feature_content_source] load from cli  0.0s
 => => transferring dev_containers_feature_content_source: 15.74kB         0.0s
 => [fastapi internal] load build context                                  0.0s
 => => transferring context: 38B                                           0.0s
 => CACHED [fastapi dev_container_auto_added_stage_label 2/6] RUN apt-get  0.0s
 => CACHED [fastapi dev_container_auto_added_stage_label 3/6] WORKDIR /tr  0.0s
 => CACHED [fastapi dev_container_auto_added_stage_label 4/6] COPY requir  0.0s
 => CACHED [fastapi dev_container_auto_added_stage_label 5/6] RUN pip ins  0.0s
 => CACHED [fastapi dev_container_auto_added_stage_label 6/6] RUN mkdir -  0.0s
 => CACHED [fastapi dev_containers_target_stage 1/7] RUN mkdir -p /tmp/de  0.0s
 => CACHED [fastapi dev_containers_feature_content_normalize 1/2] COPY --  0.0s
 => CACHED [fastapi dev_containers_feature_content_normalize 2/2] RUN chm  0.0s
 => CACHED [fastapi dev_containers_target_stage 2/7] COPY --from=dev_cont  0.0s
 => CACHED [fastapi dev_containers_target_stage 3/7] RUN echo "_CONTAINER  0.0s
 => CACHED [fastapi dev_containers_target_stage 4/7] RUN --mount=type=bin  0.0s
 => CACHED [fastapi dev_containers_target_stage 5/7] RUN --mount=type=bin  0.0s
 => CACHED [fastapi dev_containers_target_stage 6/7] RUN --mount=type=bin  0.0s
 => CACHED [fastapi dev_containers_target_stage 7/7] RUN --mount=type=bin  0.0s
 => [fastapi] exporting to image                                           1.6s
 => => exporting layers                                                    0.0s
 => => preparing layers for inline cache                                   1.4s
 => => exporting manifest sha256:8c63c8560a083749a4e406d65cd97abea995ff74  0.0s
 => => exporting config sha256:c9e3e9f190e143a83fc224e436820d91c20d586ba4  0.0s
 => => exporting attestation manifest sha256:1ffbab0f76dd47d1575c46118711  0.0s
 => => exporting manifest list sha256:668781f8502052fd028d5841b0a23d6fdfd  0.0s
 => => naming to docker.io/library/project-fastapi:latest              0.0s
 => => unpacking to docker.io/library/project-fastapi:latest           0.0s
 => [fastapi] resolving provenance for metadata file                       0.0s
[+] Building 3/3
 ✔ cron       Built                                                        0.0s
 ✔ fastapi    Built                                                        0.0s
 ✔ background_task  Built                                                        0.0s
[13173 ms] Start: Run: docker inspect --type image project-fastapi
[13324 ms] Docker Compose override file for creating container:
services:
  'fastapi':
    entrypoint: ["/bin/sh", "-c", "echo Container started\n
trap \"exit 0\" 15\n
\n
exec \"$$@\"\n
while sleep 1 & wait $$!; do :; done", "-"]
    labels:
      - 'devcontainer.local_folder=c:\xampp\htdocs\ia\project'
      - 'devcontainer.config_file=c:\xampp\htdocs\ia\project\.devcontainer\devcontainer.json'
    volumes:
      - vscode:/vscode
volumes:
  
  vscode:
    external: true
[13324 ms] Writing docker-compose.devcontainer.containerFeatures-1747995393950-2f4d9359-3c2c-4f79-a1a5-6e488481626a.yml to c:\Users\my_username\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose
[13325 ms] Start: Run: docker compose --project-name project -f c:\xampp\htdocs\ia\project\docker-compose.yml -f c:\xampp\htdocs\ia\project\.devcontainer\docker-compose-dev.yml -f c:\Users\my_username\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.build-1747995389078.yml -f c:\Users\my_username\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data\docker-compose\docker-compose.devcontainer.containerFeatures-1747995393950-2f4d9359-3c2c-4f79-a1a5-6e488481626a.yml up -d fastapi background_task rabbitmq cron

[+] Running 5/5
 ✔ Network project_default            Created                          0.0s
 ✔ Container local-project-rabbitmq   Started                          0.7s
 ✔ Container local-project-background_task  Started                          2.2s
 ✔ Container local-project-cron       Started                          0.8s
 ✔ Container local-project-fastapi    Started                          0.8s
[16065 ms] Start: Run: docker ps -q -a --filter label=com.docker.compose.project=project --filter label=com.docker.compose.service=fastapi
[16168 ms] Start: Run: docker inspect --type container c47d37d46f1e
[16263 ms] Start: Inspecting container
[16263 ms] Start: Run: docker inspect --type container c47d37d46f1e0e3fabea2cbb359c0ce902f3b74a7c3e9142b537924224d240a5
[16354 ms] Start: Run in container: /bin/sh
[16386 ms] Start: Run in container: uname -m
[16473 ms] x86_64
[16473 ms] 
[16473 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[16477 ms] PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
[16477 ms] 
[16477 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[16484 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[16486 ms] 
[16486 ms] 
[16486 ms] Exit code 1
[16486 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcEnvironmentMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcEnvironmentMarker' ; } 2> /dev/null
[16491 ms] 
[16491 ms] 
[16492 ms] Start: Run in container: cat >> /etc/environment <<'etcEnvrionmentEOF'
[16497 ms] 
[16497 ms] 
[16497 ms] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[16499 ms] 
[16499 ms] 
[16499 ms] Exit code 1
[16499 ms] Start: Run in container: test ! -f '/var/devcontainer/.patchEtcProfileMarker' && set -o noclobber && mkdir -p '/var/devcontainer' && { > '/var/devcontainer/.patchEtcProfileMarker' ; } 2> /dev/null
[16502 ms] 
[16502 ms] 
[16502 ms] Start: Run in container: sed -i -E 's/((^|\s)PATH=)([^\$]*)$/\1${PATH:-\3}/g' /etc/profile || true
[16507 ms] 
[16507 ms] 
[16526 ms] Start: Run: docker inspect --type container c47d37d46f1e0e3fabea2cbb359c0ce902f3b74a7c3e9142b537924224d240a5
[16620 ms] Start: Run: docker exec -i -u root c47d37d46f1e0e3fabea2cbb359c0ce902f3b74a7c3e9142b537924224d240a5 /bin/sh -c echo "New container started. Keep-alive process started." ; export VSCODE_REMOTE_CONTAINERS_SESSION=fa5b9b15-48f1-4045-9560-9205482891bb1747995379740 ; /bin/sh
[16621 ms] Start: Inspecting container
[16621 ms] Start: Run: docker inspect --type container c47d37d46f1e0e3fabea2cbb359c0ce902f3b74a7c3e9142b537924224d240a5
[16714 ms] Start: Run in container: /bin/sh
[16736 ms] New container started. Keep-alive process started.
[16750 ms] Start: Run in container: uname -m
[16831 ms] x86_64
[16831 ms] 
[16831 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[16835 ms] PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
[16835 ms] 
[16835 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[16839 ms] safe.directory: Looking up root folder for workspace folder '/project'.
[16839 ms] Start: Run in container: command -v git >/dev/null 2>&1 && ROOT_FOLDER="$(git -C '/project' rev-parse --show-toplevel)" && test "$(stat -c %u "$ROOT_FOLDER")" != "$(id -u)" && echo -n "$ROOT_FOLDER"
[16869 ms] 
[16869 ms] 
[16869 ms] Exit code 1
[16869 ms] safe.directory: Checking host ownership of root folder at mount point '/project' skipped.
[16869 ms] Start: Updating configuration state
[16883 ms] Start: Run: docker compose version --short
[17047 ms] Docker Compose version: 2.35.1-desktop.1
[17048 ms] Start: Setup shutdown monitor
[17049 ms] Forking shutdown monitor: c:\Users\my_username\.vscode\extensions\ms-vscode-remote.remote-containers-0.413.0\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-77e5c924-ca1e-4fad-b278-93539ddf2fba-sock dockerCompose Debug c:\Users\my_username\AppData\Roaming\Code\logs\20250523T141249\window1\exthost\ms-vscode-remote.remote-containers 1747995380626
[17064 ms] Start: Run in container: test -d '/root/.vscode-server'
[17067 ms] 
[17068 ms] 
[17068 ms] Exit code 1
[17068 ms] Start: Run in container: test -d '/root/.vscode-remote'
[17070 ms] 
[17071 ms] 
[17071 ms] Exit code 1
[17071 ms] 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
[17077 ms] 
[17077 ms] 
[17078 ms] Start: Run in container: which apt dpkg snap dnf yum rpm apk docker git gh kubectl podman curl wget ssh scp rsync gpg ps lsof netstat top tree find grep zip unzip tar gzip bzip2 xz || true
[17088 ms] Start: Run in container: mkdir -p '/root/.vscode-server/data/Machine' && cat >'/root/.vscode-server/data/Machine/settings.json' <<'settingsJSON'
[17093 ms] 
[17093 ms] 
[17094 ms] Start: Run in container: test -d '/root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e'
[17096 ms] 
[17096 ms] 
[17096 ms] Exit code 1
[17096 ms] Start: Run in container: test -d '/vscode/vscode-server/bin/linux-x64/848b80aeb52026648a8ff9f7c45a9b0a80641e2e'
[17098 ms] 
[17098 ms] 
[17098 ms] Start: Run in container: mkdir -p '/root/.vscode-server/bin' && ln -snf '/vscode/vscode-server/bin/linux-x64/848b80aeb52026648a8ff9f7c45a9b0a80641e2e' '/root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e'
[17104 ms] 
[17104 ms] 
[17104 ms] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/848b80aeb52026648a8ff9f7c45a9b0a80641e2e'
[17108 ms] 
[17108 ms] 
[17108 ms] Start: Run in container: test -x '/root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/bin/helpers/check-requirements.sh'
[17110 ms] 
[17110 ms] 
[17111 ms] Start: Run in container: '/root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/bin/helpers/check-requirements.sh'
[17186 ms] 
[17186 ms] 
[17186 ms] Start: Launching Dev Containers helper.
[17187 ms] ssh-agent: SSH_AUTH_SOCK not set on local host.
[17187 ms] ssh-agent: SSH_AUTH_SOCK not set on wsl host.
[17187 ms] X11 forwarding: DISPLAY not set on local host.
[17187 ms] Start: Run in container: test -e /tmp/.X11-unix/X0
[17189 ms] 
[17190 ms] 
[17190 ms] Exit code 1
[17190 ms] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[17193 ms] 
[17193 ms] 
[17194 ms] X11 forwarding: DISPLAY in container (:0) forwarded to wsl host (:0).
[17194 ms] Start: Run in container: gpgconf --list-dirs
[17199 ms] sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/lib/gnupg
libdir:/usr/lib/x86_64-linux-gnu/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/root/.gnupg
dirmngr-socket:/root/.gnupg/S.dirmngr
agent-ssh-socket:/root/.gnupg/S.gpg-agent.ssh
agent-extra-socket:/root/.gnupg/S.gpg-agent.extra
agent-browser-socket:/root/.gnupg/S.gpg-agent.browser
agent-socket:/root/.gnupg/S.gpg-agent
homedir:/root/.gnupg
[17199 ms] 
[17200 ms] Start: Run in container: ls '/root/.gnupg/private-keys-v1.d' 2>/dev/null
[17204 ms] 
[17204 ms] 
[17204 ms] Exit code 2
[17204 ms] Start: Run: gpgconf --list-dirs
[17316 ms] sysconfdir:/etc/gnupg
bindir:/usr/bin
libexecdir:/usr/lib/gnupg
libdir:/usr/lib/gnupg
datadir:/usr/share/gnupg
localedir:/usr/share/locale
socketdir:/home/my_username/.gnupg
dirmngr-socket:/home/my_username/.gnupg/S.dirmngr
keyboxd-socket:/home/my_username/.gnupg/S.keyboxd
agent-ssh-socket:/home/my_username/.gnupg/S.gpg-agent.ssh
agent-extra-socket:/home/my_username/.gnupg/S.gpg-agent.extra
agent-browser-socket:/home/my_username/.gnupg/S.gpg-agent.browser
agent-socket:/home/my_username/.gnupg/S.gpg-agent
homedir:/home/my_username/.gnupg
[17316 ms] 
[17317 ms] Start: Run in container: test -f '/root/.gnupg/pubring.kbx'
[17319 ms] 
[17319 ms] 
[17319 ms] Exit code 1
[17320 ms] Start: Run in container: test -f '/root/.gnupg/pubring.gpg'
[17322 ms] 
[17322 ms] 
[17322 ms] Exit code 1
[17322 ms] Start: Run in container: test -f '/root/.gnupg/trustdb.gpg'
[17328 ms] 
[17328 ms] 
[17328 ms] Exit code 1
[17328 ms] Start: Run in container: mkdir -p -m 700 '/root/.gnupg'
[17328 ms] gpg-agent: Socket in container (/root/.gnupg/S.gpg-agent) forwarded to local host (/home/my_username/.gnupg/S.gpg-agent.extra).
[17328 ms] Start: Checking for GitHub CLI
[17331 ms] 
[17331 ms] 
[17331 ms] Start: Run in container: (command -v 'gh') >/dev/null 2>&1
[17332 ms] Start: Run: gpg-connect-agent updatestartuptty /bye
[17333 ms] 
[17333 ms] 
[17333 ms] Exit code 127
[17333 ms] Start: Run in container: (command -v 'docker' || command -v 'oras' || command -v 'skopeo') >/dev/null 2>&1
[17336 ms] 
[17336 ms] 
[17336 ms] Exit code 127
[17336 ms] Start: Run in container: /bin/sh
[17336 ms] userEnvProbe: loginInteractiveShell (default)
[17337 ms] Start: Run in container: test -f '/tmp/devcontainers-fa5b9b15-48f1-4045-9560-9205482891bb1747995379740/env-loginInteractiveShell.json'
[17339 ms] 
[17339 ms] 
[17339 ms] Exit code 1
[17339 ms] userEnvProbe: not found in cache
[17339 ms] userEnvProbe shell: /bin/bash
[17348 ms] Start: Run in container: # Test for /root/.ssh/known_hosts and ssh
[17351 ms] ssh not found
[17351 ms] 
[17351 ms] Exit code 1
[17351 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node /tmp/vscode-remote-containers-74e78ebb-8f1b-4381-a877-b2896ef9a092.js git-credential-helper $*; }; f' || true
[17369 ms] 
[17369 ms] 
[17369 ms] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd || echo ; readlink /proc/$pid/ns/mnt || echo ; cat /proc/$pid/stat | tr "
[17375 ms] Start: Run in container: echo ~
[17416 ms] Start: Run in container: cat '/root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/product.json'
[17422 ms] Start: Run in container: cat '/root/.vscode-server/data/Machine/.connection-token-848b80aeb52026648a8ff9f7c45a9b0a80641e2e' 2>/dev/null || (umask 377 && echo '99c62817-0635-46b2-b116-dd019c367ea2' >'/root/.vscode-server/data/Machine/.connection-token-848b80aeb52026648a8ff9f7c45a9b0a80641e2e-7e34c23a-6dd2-4fbc-94f3-5292ffd50611' && mv -n '/root/.vscode-server/data/Machine/.connection-token-848b80aeb52026648a8ff9f7c45a9b0a80641e2e-7e34c23a-6dd2-4fbc-94f3-5292ffd50611' '/root/.vscode-server/data/Machine/.connection-token-848b80aeb52026648a8ff9f7c45a9b0a80641e2e' && rm -f '/root/.vscode-server/data/Machine/.connection-token-848b80aeb52026648a8ff9f7c45a9b0a80641e2e-7e34c23a-6dd2-4fbc-94f3-5292ffd50611' && cat '/root/.vscode-server/data/Machine/.connection-token-848b80aeb52026648a8ff9f7c45a9b0a80641e2e')
[17432 ms] 99c62817-0635-46b2-b116-dd019c367ea2
[17432 ms] 
[17433 ms] Start: Starting VS Code Server
[17434 ms] Start: Preparing Extensions
[17434 ms] Start: Run in container: test ! -f '/root/.vscode-server/data/Machine/.installExtensionsMarker' && set -o noclobber && mkdir -p '/root/.vscode-server/data/Machine' && { > '/root/.vscode-server/data/Machine/.installExtensionsMarker' ; } 2> /dev/null
[17438 ms] 
[17438 ms] 
[17441 ms] Extensions cache, install extensions: ms-python.vscode-pylance, usernamehw.errorlens, dbaeumer.vscode-eslint, formulahendry.code-runner, sleistner.vscode-fileutils, eamodio.gitlens, esbenp.prettier-vscode, ms-python.python, ms-python.debugpy, charliermarsh.ruff
[17441 ms] Start: Run in container: test -d /root/.vscode-server/extensionsCache && ls /root/.vscode-server/extensionsCache || true
[17443 ms] 
[17443 ms] 
[17444 ms] Start: Run in container: test -d /vscode/vscode-server/extensionsCache && ls /vscode/vscode-server/extensionsCache || true
[17448 ms] a884fc01-bb86-4d0b-ba20-e6fce5b83f96
[17448 ms] 
[17448 ms] Extensions cache, link in container: None
[17449 ms] Optimizing extensions for quality: stable
[17449 ms] Start: Run in container: /root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/bin/code-server --log debug --force-disable-user-env --server-data-dir /root/.vscode-server --use-host-proxy --telemetry-level off --accept-server-license-terms --host 127.0.0.1 --port 0 --connection-token-file /root/.vscode-server/data/Machine/.connection-token-848b80aeb52026648a8ff9f7c45a9b0a80641e2e --extensions-download-dir /root/.vscode-server/extensionsCache --install-extension ms-python.vscode-pylance --install-extension usernamehw.errorlens --install-extension dbaeumer.vscode-eslint --install-extension formulahendry.code-runner --install-extension sleistner.vscode-fileutils --install-extension eamodio.gitlens --install-extension esbenp.prettier-vscode --install-extension ms-python.python --install-extension ms-python.debugpy --install-extension charliermarsh.ruff --start-server --disable-websocket-compression --skip-requirements-check
[17482 ms] /root
[17483 ms] 
[17483 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-74e78ebb-8f1b-4381-a877-b2896ef9a092.js' >/tmp/vscode-remote-containers-74e78ebb-8f1b-4381-a877-b2896ef9a092.js
[17486 ms] 
[17486 ms] 
[17486 ms] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-74e78ebb-8f1b-4381-a877-b2896ef9a092.js' >/tmp/vscode-remote-containers-server-74e78ebb-8f1b-4381-a877-b2896ef9a092.js_1747995398112
[17495 ms] 
[17495 ms] 
[17710 ms] *
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*
[17715 ms] Server bound to 127.0.0.1:42529 (IPv4)
Extension host agent listening on 42529

[17715 ms] Start: Run in container: echo 42529 >'/root/.vscode-server/data/Machine/.devport-848b80aeb52026648a8ff9f7c45a9b0a80641e2e'
[17717 ms] 
[17718 ms] 
[17718 ms] Port forwarding for container port 42529 starts listening on local port.
[17720 ms] Port forwarding local port 42529 to container port 42529
[17720 ms] Running Dev Containers CLI:   run-user-commands --user-data-folder c:\Users\my_username\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --container-session-data-folder /tmp/devcontainers-fa5b9b15-48f1-4045-9560-9205482891bb1747995379740 --workspace-folder c:\xampp\htdocs\ia\project --id-label devcontainer.local_folder=c:\xampp\htdocs\ia\project --id-label devcontainer.config_file=c:\xampp\htdocs\ia\project\.devcontainer\devcontainer.json --container-id c47d37d46f1e0e3fabea2cbb359c0ce902f3b74a7c3e9142b537924224d240a5 --log-level debug --log-format json --config c:\xampp\htdocs\ia\project\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --skip-non-blocking-commands false --prebuild false --stop-for-personalization true --remote-env REMOTE_CONTAINERS_IPC=/tmp/vscode-remote-containers-ipc-74e78ebb-8f1b-4381-a877-b2896ef9a092.sock --remote-env DISPLAY=:0 --remote-env REMOTE_CONTAINERS_DISPLAY_SOCK=/tmp/.X11-unix/X0 --remote-env REMOTE_CONTAINERS=true --mount-workspace-git-root --dotfiles-target-path ~/dotfiles
[17721 ms] Start: Run: C:\Users\my_username\AppData\Local\Programs\Microsoft VS Code\Code.exe c:\Users\my_username\.vscode\extensions\ms-vscode-remote.remote-containers-0.413.0\dist\spec-node\devContainersSpecCLI.js run-user-commands --user-data-folder c:\Users\my_username\AppData\Roaming\Code\User\globalStorage\ms-vscode-remote.remote-containers\data --container-session-data-folder /tmp/devcontainers-fa5b9b15-48f1-4045-9560-9205482891bb1747995379740 --workspace-folder c:\xampp\htdocs\ia\project --id-label devcontainer.local_folder=c:\xampp\htdocs\ia\project --id-label devcontainer.config_file=c:\xampp\htdocs\ia\project\.devcontainer\devcontainer.json --container-id c47d37d46f1e0e3fabea2cbb359c0ce902f3b74a7c3e9142b537924224d240a5 --log-level debug --log-format json --config c:\xampp\htdocs\ia\project\.devcontainer\devcontainer.json --default-user-env-probe loginInteractiveShell --skip-non-blocking-commands false --prebuild false --stop-for-personalization true --remote-env REMOTE_CONTAINERS_IPC=/tmp/vscode-remote-containers-ipc-74e78ebb-8f1b-4381-a877-b2896ef9a092.sock --remote-env DISPLAY=:0 --remote-env REMOTE_CONTAINERS_DISPLAY_SOCK=/tmp/.X11-unix/X0 --remote-env REMOTE_CONTAINERS=true --mount-workspace-git-root --dotfiles-target-path ~/dotfiles
[17783 ms] Ignoring option 'skip-requirements-check': not supported for server.
[17796 ms] [12:16:38] 




[17906 ms] [12:16:38] Installing extensions...
[17912 ms] [12:16:38] Extension host agent started.
[17930 ms] [12:16:38] Error while reading the extension cache file: /root/.vscode-server/data/CachedProfilesData/__default__profile__/extensions.builtin.cache Unable to read file '/root/.vscode-server/data/CachedProfilesData/__default__profile__/extensions.builtin.cache' (Error: Unable to resolve nonexistent file '/root/.vscode-server/data/CachedProfilesData/__default__profile__/extensions.builtin.cache')
[17931 ms] [12:16:38] Started initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions
[17981 ms] [12:16:38] ComputeTargetPlatform: linux-x64
[17984 ms] @devcontainers/cli 0.76.0. Node.js v20.19.0. win32 10.0.26100 x64.
[17984 ms] Start: Run: docker buildx version
[18018 ms] [12:16:38] Completed initializing default profile extensions in extensions installation folder. file:///root/.vscode-server/extensions
[18036 ms] [12:16:38] ComputeTargetPlatform: linux-x64
[18072 ms] userEnvProbe PATHs:
Probe:     '/usr/local/share/nvm/versions/node/v22.15.1/bin:/usr/local/share/nvm/current/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
Container: '/usr/local/share/nvm/current/bin:/usr/local/share/nvm/current/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[18073 ms] Start: Run in container: mkdir -p '/tmp/devcontainers-fa5b9b15-48f1-4045-9560-9205482891bb1747995379740' && cat > '/tmp/devcontainers-fa5b9b15-48f1-4045-9560-9205482891bb1747995379740/env-loginInteractiveShell.json' << 'envJSON'
[18078 ms] 
[18078 ms] 
[18082 ms] Initializing configuration support...
[18082 ms] Internal initialization of dev container support package...
[18091 ms] Port forwarding connection from 61692 > 42529 > 42529 in the container.
[18092 ms] Start: Run in container: /root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node -e 
[18191 ms] github.com/docker/buildx v0.23.0-desktop.1 503f948aadbddb6de3ec5581f766e1d27f6975a1
[18191 ms] 
[18192 ms] Start: Run: docker -v
[18266 ms] Start: Run: docker inspect --type container c47d37d46f1e0e3fabea2cbb359c0ce902f3b74a7c3e9142b537924224d240a5
[18371 ms] Start: Inspecting container
[18371 ms] Start: Run: docker inspect --type container c47d37d46f1e0e3fabea2cbb359c0ce902f3b74a7c3e9142b537924224d240a5
[18402 ms] Port forwarding 61692 > 42529 > 42529 stderr: Connection established
[18419 ms] Port forwarding connection from 61696 > 42529 > 42529 in the container.
[18419 ms] Start: Run in container: /root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node -e 
[18435 ms] [12:16:39] [127.0.0.1][ffff63f0][ManagementConnection] New connection established.
[18454 ms] [12:16:39] Log level changed to info
[18468 ms] Start: Run in container: /bin/sh
[18497 ms] Start: Run in container: uname -m
[18631 ms] Port forwarding 61696 > 42529 > 42529 stderr: Connection established
[18634 ms] x86_64
[18634 ms] 
[18634 ms] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[18639 ms] PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
[18639 ms] 
[18640 ms] Start: Run in container:  (command -v getent >/dev/null 2>&1 && getent passwd 'root' || grep -E '^root|^[^:]*:[^:]*:root:' /etc/passwd || true)
[18645 ms] userEnvProbe: loginInteractiveShell (default)
[18646 ms] Start: Run in container: test -f '/tmp/devcontainers-fa5b9b15-48f1-4045-9560-9205482891bb1747995379740/env-loginInteractiveShell.json'
[18648 ms] 
[18649 ms] 
[18649 ms] Start: Run in container: mkdir -p '/root/.devcontainer' && CONTENT="$(cat '/root/.devcontainer/.onCreateCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2025-05-23T10:16:34.792372699Z}" != '2025-05-23T10:16:34.792372699Z' ] && echo '2025-05-23T10:16:34.792372699Z' > '/root/.devcontainer/.onCreateCommandMarker'
[18656 ms] 
[18656 ms] 
[18656 ms] Start: Run in container: cat '/tmp/devcontainers-fa5b9b15-48f1-4045-9560-9205482891bb1747995379740/env-loginInteractiveShell.json'
[18661 ms] {
        "NVIDIA_VISIBLE_DEVICES": "all",
        "PYTHONUNBUFFERED": "1",
        "NVM_INC": "/usr/local/share/nvm/versions/node/v22.15.1/include/node",
        "NVIDIA_REQUIRE_CUDA": "cuda>=12.3 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526 brand=tesla,driver>=535,driver<536 brand=unknown,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=geforce,driver>=535,driver<536 brand=geforcertx,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=titan,driver>=535,driver<536 brand=titanrtx,driver>=535,driver<536",
        "LS_COLORS": "rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.webp=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:",
        "NVM_SYMLINK_CURRENT": "true",
        "CUDA_VERSION": "12.3.0",
        "NVM_DIR": "/usr/local/share/nvm",
        "TERM": "xterm-256color",
        "REMOTE_CONTAINERS_SOCKETS": "[\"/tmp/.X11-unix/X0\",\"/root/.gnupg/S.gpg-agent\"]",
        "RABBITMQ_HOST": "localhost",
        "PYTHONIOENCODING": "UTF-8",
        "SHLVL": "1",
        "NVM_CD_FLAGS": "",
        "NVARCH": "x86_64",,
        "NV_CUDA_COMPAT_PACKAGE": "cuda-compat-12-3",
        "LD_LIBRARY_PATH": "/usr/local/nvidia/lib:/usr/local/nvidia/lib64",
        "RABBITMQ_VHOST": "/",
        "PS1": "\\[\\e]0;\\u@\\h: \\w\\a\\]${debian_chroot:+($debian_chroot)}\\u@\\h:\\w\\$ ",
        "PATH": "/usr/local/share/nvm/versions/node/v22.15.1/bin:/usr/local/share/nvm/current/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
        "RABBITMQ_RECONNECT_DELAY": "5",
        "NVM_BIN": "/usr/local/share/nvm/versions/node/v22.15.1/bin",
        "DEBIAN_FRONTEND": "noninteractive",
        "_": "/usr/bin/cat"
}
[18662 ms] 
[18662 ms] Start: Run in container: mkdir -p '/root/.devcontainer' && CONTENT="$(cat '/root/.devcontainer/.updateContentCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2025-05-23T10:16:34.792372699Z}" != '2025-05-23T10:16:34.792372699Z' ] && echo '2025-05-23T10:16:34.792372699Z' > '/root/.devcontainer/.updateContentCommandMarker'
[18671 ms] 
[18671 ms] 
[18671 ms] Start: Run in container: mkdir -p '/root/.devcontainer' && CONTENT="$(cat '/root/.devcontainer/.postCreateCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2025-05-23T10:16:34.792372699Z}" != '2025-05-23T10:16:34.792372699Z' ] && echo '2025-05-23T10:16:34.792372699Z' > '/root/.devcontainer/.postCreateCommandMarker'
[18692 ms] 
[18692 ms] 
Running the postCreateCommand from devcontainer.json...

[18693 ms] Start: Run in container: /bin/sh -c npm install
[19054 ms] [12:16:39] [127.0.0.1][ed8b1212][ExtensionHostConnection] New connection established.
[19059 ms] [12:16:39] [127.0.0.1][ed8b1212][ExtensionHostConnection] <595> Launched Extension Host Process.

up to date, audited 87 packages in 2s

23 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
[21293 ms] Start: Run in container: # Test for /root/.gitconfig and git
[21297 ms] 
[21297 ms] 
[21297 ms] Start: Run in container: # Copy C:\Users\my_username\.gitconfig to /root/.gitconfig
[21303 ms] 
[21303 ms] 
[21303 ms] Start: Run in container: # Cleaning up git config
[21359 ms] 
[21359 ms] 
[21360 ms] Start: Run: git config --global --get gpg.ssh.allowedSignersFile
[21360 ms] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node /tmp/vscode-remote-containers-74e78ebb-8f1b-4381-a877-b2896ef9a092.js git-credential-helper $*; }; f' || true
[21388 ms] 
[21388 ms] 
[21447 ms] Copying allowed signers file: C:\Users\my_username\.ssh\allowed_signers
[21456 ms] Start: Run in container: # Test for /root/.ssh/allowed_signers and ssh
[21459 ms] ssh not found
[21459 ms] 
[21459 ms] Exit code 1
[21512 ms] [12:16:42] Installing extension 'ms-python.vscode-pylance'...
[21524 ms] [12:16:42] Installing extension 'usernamehw.errorlens'...
[21558 ms] [12:16:42] Installing extension 'dbaeumer.vscode-eslint'...
[21563 ms] [12:16:42] Installing extension 'formulahendry.code-runner'...
[21655 ms] [12:16:42] Installing extension 'esbenp.prettier-vscode'...
[21663 ms] [12:16:42] Installing extension 'eamodio.gitlens'...
[21669 ms] [12:16:42] Installing extension 'ms-python.python'...
[21682 ms] [12:16:42] Installing extension 'ms-python.debugpy'...
[21721 ms] [12:16:42] Installing extension 'charliermarsh.ruff'...
[21835 ms] [12:16:42] Installing extension 'sleistner.vscode-fileutils'...
[21839 ms] [12:16:42] Getting Manifest... ms-python.vscode-pylance
[12:16:42] Getting Manifest... usernamehw.errorlens
[12:16:42] Getting Manifest... dbaeumer.vscode-eslint
[12:16:42] Getting Manifest... formulahendry.code-runner
[12:16:42] Getting Manifest... esbenp.prettier-vscode
[12:16:42] Getting Manifest... eamodio.gitlens
[12:16:42] Getting Manifest... ms-python.python
[21839 ms] [12:16:42] Getting Manifest... ms-python.debugpy
[12:16:42] Getting Manifest... charliermarsh.ruff
[12:16:42] Getting Manifest... sleistner.vscode-fileutils
[21908 ms] [12:16:42] Installing extension: esbenp.prettier-vscode {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21908 ms] [12:16:42] Installing extension: charliermarsh.ruff {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21909 ms] [12:16:42] Installing extension: sleistner.vscode-fileutils {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21910 ms] [12:16:42] Installing extension: dbaeumer.vscode-eslint {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21911 ms] [12:16:42] Installing extension: formulahendry.code-runner {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21911 ms] [12:16:42] Installing extension: usernamehw.errorlens {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21912 ms] [12:16:42] Installing extension: ms-python.python {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21913 ms] [12:16:42] Installing extension: ms-python.debugpy {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21913 ms] [12:16:42] Installing extension: ms-python.vscode-pylance {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[21914 ms] [12:16:42] Installing extension: eamodio.gitlens {
  isMachineScoped: false,
  installPreReleaseVersion: false,
  isApplicationScoped: true,
  isBuiltin: false,
  installGivenVersion: false,
  profileLocation: _r {
    scheme: 'file',
    authority: '',
    path: '/root/.vscode-server/extensions/extensions.json',
    query: '',
    fragment: '',
    _formatted: 'file:///root/.vscode-server/extensions/extensions.json',
    _fsPath: '/root/.vscode-server/extensions/extensions.json'
  },
  productVersion: { version: '1.100.2', date: '2025-05-14T21:47:40.416Z' }
}
[22649 ms] [12:16:43] Getting Manifest... ms-python.python
[23234 ms] [12:16:43] Getting Manifest... ms-python.vscode-pylance
[23278 ms] [12:16:43] Getting Manifest... ms-python.vscode-pylance
[23279 ms] [12:16:43] Getting Manifest... ms-python.debugpy
[23318 ms] [12:16:44] Getting Manifest... ms-python.debugpy
[23712 ms] [12:16:44] Getting Manifest... ms-python.python
[23769 ms] [12:16:44] Getting Manifest... ms-python.python
[24213 ms] [12:16:44] Getting Manifest... ms-python.vscode-pylance
[24394 ms] [12:16:45] Getting Manifest... ms-python.debugpy
[27469 ms] Start: Run in container: mkdir -p '/vscode/vscode-server/extensionsCache' && cd '/root/.vscode-server/extensionsCache' && cp 'dbaeumer.vscode-eslint-3.0.10' 'dbaeumer.vscode-eslint-3.0.10.sigzip' 'esbenp.prettier-vscode-11.0.0' 'esbenp.prettier-vscode-11.0.0.sigzip' 'formulahendry.code-runner-0.12.2' 'formulahendry.code-runner-0.12.2.sigzip' 'sleistner.vscode-fileutils-3.10.3' 'sleistner.vscode-fileutils-3.10.3.sigzip' 'usernamehw.errorlens-3.26.0' 'usernamehw.errorlens-3.26.0.sigzip' '/vscode/vscode-server/extensionsCache'
[27495 ms] 
[27495 ms] 
[27496 ms] Start: Run in container: cd '/vscode/vscode-server/extensionsCache' && ls -t | tail -n +500 | xargs rm -f
[27526 ms] 
[27526 ms] 
[29252 ms] [12:16:49] Extension signature verification result for sleistner.vscode-fileutils: Success. Internal Code: 0. Executed: true. Duration: 3247ms.
[12:16:49] Extension signature verification result for esbenp.prettier-vscode: Success. Internal Code: 0. Executed: true. Duration: 3719ms.
[29316 ms] [12:16:49] Extension signature verification result for formulahendry.code-runner: Success. Internal Code: 0. Executed: true. Duration: 2718ms.
[29339 ms] [12:16:49] Extension signature verification result for usernamehw.errorlens: Success. Internal Code: 0. Executed: true. Duration: 2533ms.
[29681 ms] [12:16:50] Extracted extension to file:///root/.vscode-server/extensions/sleistner.vscode-fileutils-3.10.3: sleistner.vscode-fileutils
[29689 ms] [12:16:50] Extension signature verification result for dbaeumer.vscode-eslint: Success. Internal Code: 0. Executed: true. Duration: 3205ms.
[29829 ms] [12:16:50] Renamed to /root/.vscode-server/extensions/sleistner.vscode-fileutils-3.10.3
[30100 ms] [12:16:50] Extracted extension to file:///root/.vscode-server/extensions/usernamehw.errorlens-3.26.0: usernamehw.errorlens
[30119 ms] [12:16:50] Extracted extension to file:///root/.vscode-server/extensions/dbaeumer.vscode-eslint-3.0.10: dbaeumer.vscode-eslint
[30136 ms] [12:16:50] Renamed to /root/.vscode-server/extensions/usernamehw.errorlens-3.26.0
[30143 ms] [12:16:50] Renamed to /root/.vscode-server/extensions/dbaeumer.vscode-eslint-3.0.10
[30332 ms] [12:16:50] Extension signature verification result for charliermarsh.ruff: Success. Internal Code: 0. Executed: true. Duration: 2155ms.
[30618 ms] [12:16:51] Extracted extension to file:///root/.vscode-server/extensions/esbenp.prettier-vscode-11.0.0: esbenp.prettier-vscode
[30635 ms] [12:16:51] Renamed to /root/.vscode-server/extensions/esbenp.prettier-vscode-11.0.0
[30799 ms] [12:16:51] Extension signature verification result for ms-python.debugpy: Success. Internal Code: 0. Executed: true. Duration: 1962ms.
[30828 ms] [12:16:51] Extracted extension to file:///root/.vscode-server/extensions/formulahendry.code-runner-0.12.2: formulahendry.code-runner
[30857 ms] [12:16:51] Renamed to /root/.vscode-server/extensions/formulahendry.code-runner-0.12.2
[30873 ms] [12:16:51] Extension signature verification result for ms-python.python: Success. Internal Code: 0. Executed: true. Duration: 1924ms.
[31249 ms] [12:16:51] Extension signature verification result for eamodio.gitlens: Success. Internal Code: 0. Executed: true. Duration: 1415ms.
[32655 ms] [12:16:53] Extracted extension to file:///root/.vscode-server/extensions/charliermarsh.ruff-2025.22.0-linux-x64: charliermarsh.ruff
[32693 ms] [12:16:53] Renamed to /root/.vscode-server/extensions/charliermarsh.ruff-2025.22.0-linux-x64
[33022 ms] [12:16:53] Extracted extension to file:///root/.vscode-server/extensions/eamodio.gitlens-17.1.1: eamodio.gitlens
[33061 ms] [12:16:53] Renamed to /root/.vscode-server/extensions/eamodio.gitlens-17.1.1
[33240 ms] [12:16:53] Extracted extension to file:///root/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64: ms-python.debugpy
[33273 ms] [12:16:53] Renamed to /root/.vscode-server/extensions/ms-python.debugpy-2025.8.0-linux-x64
[35109 ms] [12:16:56] Extracted extension to file:///root/.vscode-server/extensions/ms-python.python-2025.6.1-linux-x64: ms-python.python
[35290 ms] [12:16:56] Renamed to /root/.vscode-server/extensions/ms-python.python-2025.6.1-linux-x64
[35334 ms] [12:16:56] Extension signature verification result for ms-python.vscode-pylance: Success. Internal Code: 0. Executed: true. Duration: 1202ms.
[43014 ms] [12:17:03] Extracted extension to file:///root/.vscode-server/extensions/ms-python.vscode-pylance-2025.5.1: ms-python.vscode-pylance
[43565 ms] [12:17:04] Renamed to /root/.vscode-server/extensions/ms-python.vscode-pylance-2025.5.1
[43590 ms] [12:17:04] Extension installed successfully: sleistner.vscode-fileutils file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: usernamehw.errorlens file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: dbaeumer.vscode-eslint file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: esbenp.prettier-vscode file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: formulahendry.code-runner file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: charliermarsh.ruff file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: eamodio.gitlens file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: ms-python.debugpy file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: ms-python.python file:///root/.vscode-server/extensions/extensions.json
[12:17:04] Extension installed successfully: ms-python.vscode-pylance file:///root/.vscode-server/extensions/extensions.json
[43608 ms] [12:17:04] Extension 'sleistner.vscode-fileutils' v3.10.3 was successfully installed.
[12:17:04] Extension 'usernamehw.errorlens' v3.26.0 was successfully installed.
[12:17:04] Extension 'dbaeumer.vscode-eslint' v3.0.10 was successfully installed.
[12:17:04] Extension 'esbenp.prettier-vscode' v11.0.0 was successfully installed.
[12:17:04] Extension 'formulahendry.code-runner' v0.12.2 was successfully installed.
[12:17:04] Extension 'charliermarsh.ruff' v2025.22.0 was successfully installed.
[12:17:04] Extension 'eamodio.gitlens' v17.1.1 was successfully installed.
[12:17:04] Extension 'ms-python.debugpy' v2025.8.0 was successfully installed.
[12:17:04] Extension 'ms-python.python' v2025.6.1 was successfully installed.
[12:17:04] Extension 'ms-python.vscode-pylance' v2025.5.1 was successfully installed.
[43825 ms] Port forwarding connection from 61736 > 42529 > 42529 in the container.
[43828 ms] Start: Run in container: /root/.vscode-server/bin/848b80aeb52026648a8ff9f7c45a9b0a80641e2e/node -e 
[44054 ms] Port forwarding 61736 > 42529 > 42529 stderr: Connection established
[45550 ms] Start: Run in container: cat /proc/1023/environ
[50313 ms] Port forwarding 61736 > 42529 > 42529 stderr: Remote close
[50331 ms] Port forwarding 61736 > 42529 > 42529 terminated with code 0 and signal null.
[87530 ms] Start: Run in container: mkdir -p '/vscode/vscode-server/extensionsCache' && cd '/root/.vscode-server/extensionsCache' && cp 'charliermarsh.ruff-2025.22.0-linux-x64' 'eamodio.gitlens-17.1.1' 'ms-python.debugpy-2025.8.0-linux-x64' 'ms-python.python-2025.6.1-linux-x64' 'ms-python.vscode-pylance-2025.5.1' '/vscode/vscode-server/extensionsCache'
[87601 ms] 
[87601 ms] 
[87601 ms] Start: Run in container: cd '/vscode/vscode-server/extensionsCache' && ls -t | tail -n +500 | xargs rm -f

elieobeid7 avatar May 23 '25 10:05 elieobeid7

The log shows that it tries to copy the allowedSignersFile, but for some reason that fails.

chrmarti avatar May 30 '25 12:05 chrmarti

I use docker-compose and have many containers spawn up. Also, I use volumes, I map the code to containers via volumes, I don't copy code inside the container.

Not sure if my way of doing things is causing the issue, maybe vscode knows how to handle git if i have only one container and copy code inside it, but when there are volumes and many containers, maybe vscode has issues, I'm just wondering because other users don't face this issue it seems. I just don't agree with how other people use Docker.

My philosophy is simple:

  • Don't rebuild Docker often, that slows down development
  • Never SSH to a Docker container, that explains why I keep the code on disk and map it to volumes, easier for development, and no need for rebuilding
  • Always use docker-compose and set up a Docker network. I'm not a fan at all of those Docker images doing multiple things at once; those are just multiple points of failure.

But I might be the only one who uses Docker like that. Also, I have a docker-compose specifically for development as we discussed on the second ticket. Maybe something in my current workflow is causing this issue; otherwise, someone would have caught the problem already. I asked about this a few weeks ago on Reddit, and no one seems to be facing this problem.

So maybe vsode is trying to copy the file to all containers or to the wrong container, or maybe this architecture causes an issue somewhere, because I have a base image that I use in multiple containers, so some files are located in multiple containers because they're part of the base image.

I'm not sure about any of this, I'm just explaining my architecture, maybe it helps in finding the bug.

elieobeid7 avatar Jun 01 '25 21:06 elieobeid7

to add to that: in my case the diff viewer executable path is copied over which also cannot work in a devcontainer:

[core]
  ; pager = /opt/homebrew/bin/delta
  pager = "diff-so-fancy | less --tabs=4 -RF"

@chrmarti is there a heuristic to remove fields which might contain executable paths which point outside the dev container or what are you guys doing? :)

MartinLoeper avatar Jun 24 '25 13:06 MartinLoeper

@MartinLoeper We currently check core.editor core.sshCommand gpg.program gpg.openpgp.program gpg.x509.program gpg.ssh.program for an executable that is not available in the container and remove these. In the absence of a better way of bringing the user's config over without the parts that can't work in the container, we might continue to add to that list for now.

chrmarti avatar Jul 02 '25 09:07 chrmarti