devcontainers / cli

A reference implementation for the specification that can create and configure a dev container from a devcontainer.json.
https://containers.dev
MIT License
1.62k stars 227 forks source link

[question] Does window reloading break container connection? #406

Closed ontoneio closed 1 year ago

ontoneio commented 1 year ago

Hello!

So I am using some tooling in my container that requires a window reload sometimes to refresh the settings and I have done this inside the container successfully until recently.

I am in my devcontainer and use the Developer: Reload Window command only to now have it break the connection to the container where it didn't used to before. When I do this, I receive this error message.

[2023-02-10T00:53:35.227Z] Start: Run: wsl -d Ubuntu-22.04 -e wslpath -u \\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms
[2023-02-10T00:53:35.369Z] Stop (142 ms): Run: wsl -d Ubuntu-22.04 -e wslpath -u \\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms
[2023-02-10T00:53:35.376Z] Start: Resolving Remote
[2023-02-10T00:53:35.378Z] Start: Run: wsl -d Ubuntu-22.04 -e wslpath -u \\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms
[2023-02-10T00:53:35.513Z] Stop (135 ms): Run: wsl -d Ubuntu-22.04 -e wslpath -u \\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms
[2023-02-10T00:53:35.515Z] Start: Run: wsl -d Ubuntu-22.04 -e /bin/sh -c cd '/home/vscode/projects/cms' && /bin/sh
[2023-02-10T00:53:35.521Z] Start: Run in host: id -un
[2023-02-10T00:53:35.584Z] vscode
[2023-02-10T00:53:35.584Z] 
[2023-02-10T00:53:35.584Z] Stop (63 ms): Run in host: id -un
[2023-02-10T00:53:35.584Z] Start: Run in host: cat /etc/passwd
[2023-02-10T00:53:35.585Z] Stop (1 ms): Run in host: cat /etc/passwd
[2023-02-10T00:53:35.586Z] Start: Run in host: echo ~
[2023-02-10T00:53:35.587Z] /home/vscode
[2023-02-10T00:53:35.587Z] 
[2023-02-10T00:53:35.587Z] Stop (1 ms): Run in host: echo ~
[2023-02-10T00:53:35.588Z] Start: Run in host: test -x '/home/vscode/.vscode-remote-containers/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node'
[2023-02-10T00:53:35.589Z] 
[2023-02-10T00:53:35.589Z] 
[2023-02-10T00:53:35.589Z] Exit code 1
[2023-02-10T00:53:35.589Z] Stop (1 ms): Run in host: test -x '/home/vscode/.vscode-remote-containers/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node'
[2023-02-10T00:53:35.590Z] Start: Run in host: test -x '/home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node'
[2023-02-10T00:53:35.590Z] 
[2023-02-10T00:53:35.591Z] 
[2023-02-10T00:53:35.591Z] Stop (1 ms): Run in host: test -x '/home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node'
[2023-02-10T00:53:35.591Z] Start: Run in host: test -f '/home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node_modules/node-pty/package.json'
[2023-02-10T00:53:35.592Z] 
[2023-02-10T00:53:35.592Z] 
[2023-02-10T00:53:35.592Z] Stop (1 ms): Run in host: test -f '/home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node_modules/node-pty/package.json'
[2023-02-10T00:53:35.592Z] Start: Run in host: test -f '/home/vscode/.vscode-remote-containers/dist/vscode-remote-containers-server-0.275.1.js'
[2023-02-10T00:53:35.593Z] 
[2023-02-10T00:53:35.593Z] 
[2023-02-10T00:53:35.593Z] Stop (1 ms): Run in host: test -f '/home/vscode/.vscode-remote-containers/dist/vscode-remote-containers-server-0.275.1.js'
[2023-02-10T00:53:35.593Z] userEnvProbe: loginInteractiveShell (default)
[2023-02-10T00:53:35.594Z] userEnvProbe: not found in cache
[2023-02-10T00:53:35.594Z] userEnvProbe shell: /bin/bash
[2023-02-10T00:53:35.681Z] userEnvProbe PATHs:
Probe:     '/home/vscode/.volta/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/lib/wsl/lib:/snap/bin:/mnt/c/Program Files/Microsoft VS Code/bin:/home/vscode/.volta/bin:/mnt/c/Program Files/Git/mingw64/bin/git-credential-manager-core.exe'
Container: None
[2023-02-10T00:53:35.683Z] Setting up container for folder or workspace: /home/vscode/projects/cms
[2023-02-10T00:53:35.687Z] Start: Check Docker is running
[2023-02-10T00:53:35.688Z] Start: Run in Host: docker version --format {{.Server.APIVersion}}
[2023-02-10T00:53:35.809Z] Stop (121 ms): Run in Host: docker version --format {{.Server.APIVersion}}
[2023-02-10T00:53:35.809Z] Server API version: 1.41
[2023-02-10T00:53:35.809Z] Stop (122 ms): Check Docker is running
[2023-02-10T00:53:35.809Z] Start: Run in Host: docker volume ls -q
[2023-02-10T00:53:35.873Z] Stop (64 ms): Run in Host: docker volume ls -q
[2023-02-10T00:53:35.874Z] Start: Run in Host: docker ps -q -a --filter label=vsch.local.folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --filter label=vsch.quality=stable
[2023-02-10T00:53:35.937Z] Stop (63 ms): Run in Host: docker ps -q -a --filter label=vsch.local.folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --filter label=vsch.quality=stable
[2023-02-10T00:53:35.937Z] Start: Run in Host: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --filter label=devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json
[2023-02-10T00:53:36.002Z] Stop (65 ms): Run in Host: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --filter label=devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json
[2023-02-10T00:53:36.002Z] Start: Run in Host: docker inspect --type container 40976cc53d0f
[2023-02-10T00:53:36.066Z] Stop (64 ms): Run in Host: docker inspect --type container 40976cc53d0f
[2023-02-10T00:53:36.067Z] Start: Run in Host: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms
[2023-02-10T00:53:36.126Z] Stop (59 ms): Run in Host: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms
[2023-02-10T00:53:36.126Z] Start: Run in Host: docker inspect --type container 40976cc53d0f
[2023-02-10T00:53:36.199Z] Stop (73 ms): Run in Host: docker inspect --type container 40976cc53d0f
[2023-02-10T00:53:36.203Z] Start: Run in Host: /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/vscode/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486 --workspace-folder /home/vscode/projects/cms --workspace-mount-consistency cached --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --id-label devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/vscode/projects/cms/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --mount type=bind,source=/mnt/wslg/runtime-dir/wayland-0,target=/tmp/vscode-wayland-fc92c4d96a3d824590aa4c6d6f1e6c7c2eaa8cda.sock --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-02-10T00:53:36.352Z] (node:19399) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-02-10T00:53:36.353Z] (Use `node --trace-deprecation ...` to show where the warning was created)
[2023-02-10T00:53:36.354Z] @devcontainers/cli 0.29.0. Node.js v16.14.2. linux 5.10.102.1-microsoft-standard-WSL2 x64.
[2023-02-10T00:53:36.354Z] Start: Run: docker buildx version
[2023-02-10T00:53:36.531Z] Stop (177 ms): Run: docker buildx version
[2023-02-10T00:53:36.532Z] github.com/docker/buildx v0.9.1 ed00243a0ce2a0aee75311b06e32d33b44729689
[2023-02-10T00:53:36.532Z] 
[2023-02-10T00:53:36.532Z] Start: Resolving Remote
[2023-02-10T00:53:36.539Z] Start: Run: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --filter label=devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json
[2023-02-10T00:53:36.616Z] Stop (77 ms): Run: docker ps -q -a --filter label=devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --filter label=devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json
[2023-02-10T00:53:36.617Z] Start: Run: docker inspect --type container 40976cc53d0f
[2023-02-10T00:53:36.678Z] Stop (61 ms): Run: docker inspect --type container 40976cc53d0f
[2023-02-10T00:53:36.680Z] Start: Inspecting container
[2023-02-10T00:53:36.680Z] Start: Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:36.762Z] Stop (82 ms): Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:36.762Z] Stop (82 ms): Inspecting container
[2023-02-10T00:53:36.764Z] Start: Run in container: /bin/sh
[2023-02-10T00:53:36.768Z] Start: Run in container: uname -m
[2023-02-10T00:53:36.943Z] x86_64
[2023-02-10T00:53:36.943Z] 
[2023-02-10T00:53:36.943Z] Stop (175 ms): Run in container: uname -m
[2023-02-10T00:53:36.943Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-02-10T00:53:36.946Z] PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 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
[2023-02-10T00:53:36.946Z] 
[2023-02-10T00:53:36.946Z] Stop (3 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-02-10T00:53:36.947Z] Start: Run in container: cat /etc/passwd
[2023-02-10T00:53:36.950Z] Stop (3 ms): Run in container: cat /etc/passwd
[2023-02-10T00:53:36.950Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2023-02-10T00:53:36.952Z] 
[2023-02-10T00:53:36.952Z] 
[2023-02-10T00:53:36.952Z] Stop (2 ms): Run in container: test -f '/var/devcontainer/.patchEtcEnvironmentMarker'
[2023-02-10T00:53:36.952Z] Start: Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2023-02-10T00:53:36.953Z] 
[2023-02-10T00:53:36.953Z] 
[2023-02-10T00:53:36.953Z] Stop (1 ms): Run in container: test -f '/var/devcontainer/.patchEtcProfileMarker'
[2023-02-10T00:53:36.954Z] Stop (422 ms): Resolving Remote
[2023-02-10T00:53:36.958Z] Stop (755 ms): Run in Host: /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/vscode/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js up --container-session-data-folder /tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486 --workspace-folder /home/vscode/projects/cms --workspace-mount-consistency cached --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --id-label devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json --log-level debug --log-format json --config /home/vscode/projects/cms/.devcontainer/devcontainer.json --default-user-env-probe loginInteractiveShell --mount type=volume,source=vscode,target=/vscode,external=true --mount type=bind,source=/mnt/wslg/runtime-dir/wayland-0,target=/tmp/vscode-wayland-fc92c4d96a3d824590aa4c6d6f1e6c7c2eaa8cda.sock --skip-post-create --update-remote-user-uid-default on --mount-workspace-git-root true
[2023-02-10T00:53:36.959Z] Start: Run in Host: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:37.023Z] Stop (64 ms): Run in Host: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:37.027Z] Start: Run in Host: /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/vscode/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/vscode/projects/cms --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --id-label devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json --container-id 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 --log-level debug --log-format json --config /home/vscode/projects/cms/.devcontainer/devcontainer.json --mount-workspace-git-root true
[2023-02-10T00:53:37.166Z] (node:19577) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-02-10T00:53:37.166Z] (Use `node --trace-deprecation ...` to show where the warning was created)
[2023-02-10T00:53:37.170Z] @devcontainers/cli 0.29.0. Node.js v16.14.2. linux 5.10.102.1-microsoft-standard-WSL2 x64.
[2023-02-10T00:53:37.170Z] Start: Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:37.236Z] Stop (66 ms): Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:37.241Z] Stop (214 ms): Run in Host: /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/vscode/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/vscode/projects/cms --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --id-label devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json --container-id 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 --log-level debug --log-format json --config /home/vscode/projects/cms/.devcontainer/devcontainer.json --mount-workspace-git-root true
[2023-02-10T00:53:37.245Z] Start: Run in Host: /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/vscode/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/vscode/projects/cms --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --id-label devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json --container-id 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 --log-level debug --log-format json --config /home/vscode/projects/cms/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true
[2023-02-10T00:53:37.376Z] (node:19613) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-02-10T00:53:37.376Z] (Use `node --trace-deprecation ...` to show where the warning was created)
[2023-02-10T00:53:37.381Z] @devcontainers/cli 0.29.0. Node.js v16.14.2. linux 5.10.102.1-microsoft-standard-WSL2 x64.
[2023-02-10T00:53:37.381Z] Start: Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:37.447Z] Stop (66 ms): Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:37.453Z] Stop (208 ms): Run in Host: /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/vscode/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js read-configuration --workspace-folder /home/vscode/projects/cms --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --id-label devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json --container-id 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 --log-level debug --log-format json --config /home/vscode/projects/cms/.devcontainer/devcontainer.json --include-merged-configuration --mount-workspace-git-root true
[2023-02-10T00:53:37.454Z] Start: Inspecting container
[2023-02-10T00:53:37.454Z] Start: Run in Host: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:37.517Z] Stop (63 ms): Run in Host: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:37.518Z] Stop (64 ms): Inspecting container
[2023-02-10T00:53:37.529Z] Start: Run in Host: docker exec -i -u vscode -e VSCODE_REMOTE_CONTAINERS_SESSION=d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 /bin/sh
[2023-02-10T00:53:37.531Z] Start: Run in container: uname -m
[2023-02-10T00:53:37.670Z] x86_64
[2023-02-10T00:53:37.670Z] 
[2023-02-10T00:53:37.670Z] Stop (139 ms): Run in container: uname -m
[2023-02-10T00:53:37.670Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-02-10T00:53:37.673Z] PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 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
[2023-02-10T00:53:37.673Z] 
[2023-02-10T00:53:37.674Z] Stop (4 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-02-10T00:53:37.674Z] Start: Run in container: cat /etc/passwd
[2023-02-10T00:53:37.676Z] Stop (2 ms): Run in container: cat /etc/passwd
[2023-02-10T00:53:37.677Z] Start: Setup shutdown monitor
[2023-02-10T00:53:37.678Z] Forking shutdown monitor: c:\Users\jonmitch\.vscode\extensions\ms-vscode-remote.remote-containers-0.275.1\dist\shutdown\shutdownMonitorProcess \\.\pipe\vscode-remote-containers-778a81e9bbdcaea35d2c93305676bcee9da53ac8-sock singleContainer Debug c:\Users\jonmitch\AppData\Roaming\Code\logs\20230208T131518\window2\exthost\ms-vscode-remote.remote-containers 1675990415079
[2023-02-10T00:53:37.689Z] Stop (12 ms): Setup shutdown monitor
[2023-02-10T00:53:37.690Z] Start: Run in container: test -d /home/vscode/.vscode-server
[2023-02-10T00:53:37.696Z] 
[2023-02-10T00:53:37.696Z] 
[2023-02-10T00:53:37.696Z] Stop (6 ms): Run in container: test -d /home/vscode/.vscode-server
[2023-02-10T00:53:37.696Z] Start: Run in container: test ! -f '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/vscode/.vscode-server/data/Machine' && { > '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2023-02-10T00:53:37.698Z] 
[2023-02-10T00:53:37.699Z] 
[2023-02-10T00:53:37.699Z] Exit code 1
[2023-02-10T00:53:37.699Z] Stop (3 ms): Run in container: test ! -f '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' && set -o noclobber && mkdir -p '/home/vscode/.vscode-server/data/Machine' && { > '/home/vscode/.vscode-server/data/Machine/.writeMachineSettingsMarker' ; } 2> /dev/null
[2023-02-10T00:53:37.699Z] Start: Run in container: cat /home/vscode/.vscode-server/data/Machine/settings.json
[2023-02-10T00:53:37.703Z] {
    "peacock.color": "#e96143",
    "peacock.remoteColor": "#4aace9",
    "peacock.surpriseMeOnStartup": false,
    "workbench.colorCustomizations": {
        "activityBar.activeBackground": "#77c1ef",
        "activityBar.activeBorder": "#e41b97",
        "activityBar.background": "#77c1ef",
        "activityBar.foreground": "#15202b",
        "activityBar.inactiveForeground": "#15202b99",
        "activityBarBadge.background": "#e41b97",
        "activityBarBadge.foreground": "#e7e7e7",
        "sash.hoverBorder": "#77c1ef",
        "statusBar.background": "#4aace9",
        "statusBar.foreground": "#15202b",
        "statusBarItem.hoverBackground": "#1d97e3",
        "statusBarItem.remoteBackground": "#219e11",
        "statusBarItem.remoteForeground": "#15202b",
        "titleBar.activeBackground": "#4aace9",
        "titleBar.activeForeground": "#15202b",
        "titleBar.inactiveBackground": "#4aace999",
        "titleBar.inactiveForeground": "#15202b99"
    },
    "html.autoClosingTags": true,
    "javascript.autoClosingTags": true,
    "typescript.autoClosingTags": true,
    "javascript.suggest.autoImports": true,
    "typescript.suggest.autoImports": true,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "typescript.updateImportsOnFileMove.enabled": "always",
    "emmet.excludeLanguages": [],
    "emmet.includeLanguages": {
        "vue-html": "html",
        "javascript": "javascriptreact"
    },
    "files.trimTrailingWhitespace": true,
    "[markdown]": {
        "files.trimTrailingWhitespace": false
    },
    "editor.occurrencesHighlight": true,
    "editor.linkedEditing": true,
    "terminal.integrated.defaultProfile.linux": "bash",
    "git.mergeEditor": true,
    "git.showCommitInput": false,
    "git.useEditorAsCommitInput": false,
    "git.enableSmartCommit": true,
    "git.terminalGitEditor": true,
    "git.autofetch": true,
    "git.autoStash": true,
    "git.postCommitCommand": "sync",
    "git.branchProtection": [
        "main",
        "develop"
    ],
    "githubPullRequests.assignCreated": "${user}",
    "githubIssues.userCompletions.enabled": true,
    "githubIssues.assignWhenWorking": true,
    "githubIssues.useBranchForIssues": "on",
    "githubIssues.issueBranchTitle": "issue/${issueNumber}",
    "git.branchWhitespaceChar": "-",
    "git.branchValidationRegex": "^(feature|issue|bugfix|release|refactor|hotfix|test|experiment)/([0-9]+|[a-zA-Z]+)",
    "scm.showActionButton": false,
    "npm.exclude": "**/apps/**",
    "npm.scriptExplorerExclude": [
        "(update:env)",
        "(prepare)(?!-)"
    ],
    "eslint.validate": [
        "json"
    ],
    "shellformat.path": "/usr/local/bin/shfmt"
}
[2023-02-10T00:53:37.703Z] 
[2023-02-10T00:53:37.703Z] Stop (4 ms): Run in container: cat /home/vscode/.vscode-server/data/Machine/settings.json
[2023-02-10T00:53:37.704Z] Start: Run in container: test -d /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164
[2023-02-10T00:53:37.707Z] 
[2023-02-10T00:53:37.707Z] 
[2023-02-10T00:53:37.707Z] Stop (3 ms): Run in container: test -d /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164
[2023-02-10T00:53:37.707Z] Start: Run in container: test -d /vscode/vscode-server/bin/linux-x64/e2816fe719a4026ffa1ee0189dc89bdfdbafb164
[2023-02-10T00:53:37.710Z] 
[2023-02-10T00:53:37.710Z] 
[2023-02-10T00:53:37.710Z] Stop (3 ms): Run in container: test -d /vscode/vscode-server/bin/linux-x64/e2816fe719a4026ffa1ee0189dc89bdfdbafb164
[2023-02-10T00:53:37.710Z] Start: Run in Host: docker exec -i -u root 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 /bin/sh
[2023-02-10T00:53:37.710Z] Start: Launching Dev Containers helper.
[2023-02-10T00:53:37.711Z] ssh-agent: SSH_AUTH_SOCK in container (/tmp/vscode-ssh-auth-d548bee7a9e621e89ef5917abdf7319ac33435c8.sock) forwarded to local host (\\.\pipe\openssh-ssh-agent).
[2023-02-10T00:53:37.711Z] Start: Run in container: test -e /tmp/.X11-unix/X0
[2023-02-10T00:53:37.713Z] Start: Run in container: touch '/vscode/vscode-server/bin/linux-x64/e2816fe719a4026ffa1ee0189dc89bdfdbafb164'
[2023-02-10T00:53:37.715Z] 
[2023-02-10T00:53:37.715Z] 
[2023-02-10T00:53:37.715Z] Stop (4 ms): Run in container: test -e /tmp/.X11-unix/X0
[2023-02-10T00:53:37.715Z] Start: Run in container: test -e /tmp/.X11-unix/X1
[2023-02-10T00:53:37.717Z] 
[2023-02-10T00:53:37.717Z] 
[2023-02-10T00:53:37.718Z] Exit code 1
[2023-02-10T00:53:37.718Z] Stop (3 ms): Run in container: test -e /tmp/.X11-unix/X1
[2023-02-10T00:53:37.718Z] Start: Run in container: mkdir -p '/tmp/.X11-unix'
[2023-02-10T00:53:37.721Z] 
[2023-02-10T00:53:37.721Z] 
[2023-02-10T00:53:37.721Z] Stop (3 ms): Run in container: mkdir -p '/tmp/.X11-unix'
[2023-02-10T00:53:37.721Z] X11 forwarding: DISPLAY in container (:1) forwarded to remote host (:0).
[2023-02-10T00:53:37.721Z] Start: Run in Host: gpgconf --list-dir agent-extra-socket
[2023-02-10T00:53:37.727Z] Stop (6 ms): Run in Host: gpgconf --list-dir agent-extra-socket
[2023-02-10T00:53:37.728Z] /home/vscode/.gnupg/S.gpg-agent.extra
[2023-02-10T00:53:37.728Z] 
[2023-02-10T00:53:37.728Z] Start: Run in container: gpgconf --list-dir agent-socket
[2023-02-10T00:53:37.732Z] /home/vscode/.gnupg/S.gpg-agent
[2023-02-10T00:53:37.732Z] 
[2023-02-10T00:53:37.732Z] Stop (4 ms): Run in container: gpgconf --list-dir agent-socket
[2023-02-10T00:53:37.732Z] Start: Run in container: gpgconf --list-dir homedir
[2023-02-10T00:53:37.736Z] /home/vscode/.gnupg
[2023-02-10T00:53:37.736Z] 
[2023-02-10T00:53:37.736Z] Stop (4 ms): Run in container: gpgconf --list-dir homedir
[2023-02-10T00:53:37.736Z] Start: Run in container: ls '/home/vscode/.gnupg/private-keys-v1.d' 2>/dev/null
[2023-02-10T00:53:37.741Z] 
[2023-02-10T00:53:37.742Z] 
[2023-02-10T00:53:37.742Z] Exit code 2
[2023-02-10T00:53:37.742Z] Stop (6 ms): Run in container: ls '/home/vscode/.gnupg/private-keys-v1.d' 2>/dev/null
[2023-02-10T00:53:37.742Z] Start: Run in container: mkdir -p -m 700 '/home/vscode/.gnupg'
[2023-02-10T00:53:37.746Z] 
[2023-02-10T00:53:37.746Z] 
[2023-02-10T00:53:37.746Z] Stop (4 ms): Run in container: mkdir -p -m 700 '/home/vscode/.gnupg'
[2023-02-10T00:53:37.746Z] Start: Run in container: command -v docker >/dev/null 2>&1
[2023-02-10T00:53:37.746Z] Start: Run in Host: gpgconf --list-dir homedir
[2023-02-10T00:53:37.750Z] 
[2023-02-10T00:53:37.750Z] 
[2023-02-10T00:53:37.750Z] Stop (4 ms): Run in container: command -v docker >/dev/null 2>&1
[2023-02-10T00:53:37.751Z] Start: Run in Host: docker exec -i -u vscode 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 /bin/sh
[2023-02-10T00:53:37.751Z] Stop (41 ms): Launching Dev Containers helper.
[2023-02-10T00:53:37.751Z] userEnvProbe: loginInteractiveShell (default)
[2023-02-10T00:53:37.751Z] Start: Run in container: test -f '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486/env-loginInteractiveShell.json'
[2023-02-10T00:53:37.752Z] Stop (6 ms): Run in Host: gpgconf --list-dir homedir
[2023-02-10T00:53:37.752Z] /home/vscode/.gnupg
[2023-02-10T00:53:37.752Z] 
[2023-02-10T00:53:37.759Z] Start: Run in container: echo ~
[2023-02-10T00:53:37.760Z] 
[2023-02-10T00:53:37.760Z] 
[2023-02-10T00:53:37.760Z] Exit code 1
[2023-02-10T00:53:37.760Z] Stop (9 ms): Run in container: test -f '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486/env-loginInteractiveShell.json'
[2023-02-10T00:53:37.760Z] Start: Run in container: gpgconf --list-dir homedir
[2023-02-10T00:53:37.760Z] userEnvProbe: not found in cache
[2023-02-10T00:53:37.761Z] userEnvProbe shell: /bin/bash
[2023-02-10T00:53:37.764Z] /home/vscode/.gnupg
[2023-02-10T00:53:37.764Z] 
[2023-02-10T00:53:37.764Z] Stop (4 ms): Run in container: gpgconf --list-dir homedir
[2023-02-10T00:53:37.780Z] Start: Run in Host: gpg-connect-agent updatestartuptty /bye
[2023-02-10T00:53:37.787Z] Stop (7 ms): Run in Host: gpg-connect-agent updatestartuptty /bye
[2023-02-10T00:53:37.959Z] 
[2023-02-10T00:53:37.960Z] 
[2023-02-10T00:53:37.960Z] Stop (247 ms): Run in container: touch '/vscode/vscode-server/bin/linux-x64/e2816fe719a4026ffa1ee0189dc89bdfdbafb164'
[2023-02-10T00:53:37.960Z] Start: Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /tmp/vscode-remote-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8.js git-credential-helper $*; }; f' || true
[2023-02-10T00:53:37.964Z] 
[2023-02-10T00:53:37.964Z] 
[2023-02-10T00:53:37.964Z] Stop (4 ms): Run in container: command -v git >/dev/null 2>&1 && git config --system --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /tmp/vscode-remote-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8.js git-credential-helper $*; }; f' || true
[2023-02-10T00:53:37.964Z] Start: Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[2023-02-10T00:53:37.997Z] /home/vscode
[2023-02-10T00:53:37.998Z] 
[2023-02-10T00:53:37.998Z] Stop (239 ms): Run in container: echo ~
[2023-02-10T00:53:37.998Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8.js' >/tmp/vscode-remote-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8.js
[2023-02-10T00:53:38.000Z] 
[2023-02-10T00:53:38.000Z] 
[2023-02-10T00:53:38.000Z] Stop (2 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8.js' >/tmp/vscode-remote-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8.js
[2023-02-10T00:53:38.000Z] Start: Run in container: mkdir -p /usr/local/bin && cat <<'EOF-/usr/local/bin/docker-credential-dev-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8' >/usr/local/bin/docker-credential-dev-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8
[2023-02-10T00:53:38.004Z] 
[2023-02-10T00:53:38.004Z] 
[2023-02-10T00:53:38.004Z] Stop (4 ms): Run in container: mkdir -p /usr/local/bin && cat <<'EOF-/usr/local/bin/docker-credential-dev-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8' >/usr/local/bin/docker-credential-dev-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8
[2023-02-10T00:53:38.004Z] Start: Run in container: chmod +x /usr/local/bin/docker-credential-dev-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8
[2023-02-10T00:53:38.007Z] 
[2023-02-10T00:53:38.007Z] 
[2023-02-10T00:53:38.007Z] Stop (3 ms): Run in container: chmod +x /usr/local/bin/docker-credential-dev-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8
[2023-02-10T00:53:38.007Z] Start: Run in container: cat ~/.docker/config.json || echo "{
[2023-02-10T00:53:38.010Z] {
    "credsStore": "dev-containers-9b06ef66d90d0b15081d8bdbafdb1c3e7e68b526"
}

[2023-02-10T00:53:38.010Z] 
[2023-02-10T00:53:38.010Z] Stop (3 ms): Run in container: cat ~/.docker/config.json || echo "{
[2023-02-10T00:53:38.011Z] Start: Run in container: mkdir -p ~/.docker && cat <<'EOF-/usr/local/bin/docker-credential-dev-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8' >~/.docker/config.json
[2023-02-10T00:53:38.014Z] 
[2023-02-10T00:53:38.014Z] 
[2023-02-10T00:53:38.014Z] Stop (3 ms): Run in container: mkdir -p ~/.docker && cat <<'EOF-/usr/local/bin/docker-credential-dev-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8' >~/.docker/config.json
[2023-02-10T00:53:38.014Z] Start: Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-d548bee7a9e621e89ef5917abdf7319ac33435c8.js' >/tmp/vscode-remote-containers-server-d548bee7a9e621e89ef5917abdf7319ac33435c8.js_1675990418014
[2023-02-10T00:53:38.019Z] 
[2023-02-10T00:53:38.019Z] 
[2023-02-10T00:53:38.019Z] Stop (5 ms): Run in container: cat <<'EOF-/tmp/vscode-remote-containers-server-d548bee7a9e621e89ef5917abdf7319ac33435c8.js' >/tmp/vscode-remote-containers-server-d548bee7a9e621e89ef5917abdf7319ac33435c8.js_1675990418014
[2023-02-10T00:53:38.028Z] Stop (64 ms): Run in container: for pid in `cd /proc && ls -d [0-9]*`; do { echo $pid ; readlink /proc/$pid/cwd ; readlink /proc/$pid/ns/mnt ; cat /proc/$pid/stat | tr "
[2023-02-10T00:53:38.029Z] Extension host agent is already running.
[2023-02-10T00:53:38.029Z] Start: Run in container: cat '/home/vscode/.vscode-server/data/Machine/.devport-e2816fe719a4026ffa1ee0189dc89bdfdbafb164' 2>/dev/null
[2023-02-10T00:53:38.032Z] 44661
[2023-02-10T00:53:38.032Z] 
[2023-02-10T00:53:38.032Z] Stop (3 ms): Run in container: cat '/home/vscode/.vscode-server/data/Machine/.devport-e2816fe719a4026ffa1ee0189dc89bdfdbafb164' 2>/dev/null
[2023-02-10T00:53:38.033Z] Start: Run in container: cat '/home/vscode/.vscode-server/data/Machine/.connection-token-e2816fe719a4026ffa1ee0189dc89bdfdbafb164'
[2023-02-10T00:53:38.035Z] 37f05e27-5b6b-43a6-8cab-a97e4fa1d85b
[2023-02-10T00:53:38.035Z] 
[2023-02-10T00:53:38.035Z] Stop (2 ms): Run in container: cat '/home/vscode/.vscode-server/data/Machine/.connection-token-e2816fe719a4026ffa1ee0189dc89bdfdbafb164'
[2023-02-10T00:53:38.035Z] Port forwarding for container port 44661 starts listening on local port.
[2023-02-10T00:53:38.037Z] Port forwarding local port 44661 to container port 44661
[2023-02-10T00:53:38.042Z] Start: Run in Host: /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/vscode/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js run-user-commands --container-session-data-folder /tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486 --workspace-folder /home/vscode/projects/cms --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --id-label devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json --container-id 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 --log-level debug --log-format json --config /home/vscode/projects/cms/.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-d548bee7a9e621e89ef5917abdf7319ac33435c8.sock --remote-env SSH_AUTH_SOCK=/tmp/vscode-ssh-auth-d548bee7a9e621e89ef5917abdf7319ac33435c8.sock --remote-env DISPLAY=:1 --remote-env REMOTE_CONTAINERS_DISPLAY_SOCK=/tmp/.X11-unix/X1 --remote-env REMOTE_CONTAINERS=true --mount-workspace-git-root true
[2023-02-10T00:53:38.079Z] userEnvProbe PATHs:
Probe:     '/home/vscode/.volta/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin'
Container: '/home/vscode/.volta/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
[2023-02-10T00:53:38.080Z] Start: Run in container: mkdir -p '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486' && cat > '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486/env-loginInteractiveShell.json' << 'envJSON'
[2023-02-10T00:53:38.082Z] 
[2023-02-10T00:53:38.083Z] 
[2023-02-10T00:53:38.083Z] Stop (3 ms): Run in container: mkdir -p '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486' && cat > '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486/env-loginInteractiveShell.json' << 'envJSON'
[2023-02-10T00:53:38.083Z] Start: Run in container: umask 077 && XRD="/tmp/user/$(id -u)" && mkdir -p $XRD && echo $XRD
[2023-02-10T00:53:38.087Z] /tmp/user/1000
[2023-02-10T00:53:38.087Z] 
[2023-02-10T00:53:38.087Z] Stop (4 ms): Run in container: umask 077 && XRD="/tmp/user/$(id -u)" && mkdir -p $XRD && echo $XRD
[2023-02-10T00:53:38.087Z] Start: Run in container: test -e /tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock || ln -s /tmp/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock /tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock
[2023-02-10T00:53:38.090Z] 
[2023-02-10T00:53:38.090Z] ln: failed to create symbolic link '/tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock': File exists
[2023-02-10T00:53:38.091Z] Exit code 1
[2023-02-10T00:53:38.091Z] Stop (4 ms): Run in container: test -e /tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock || ln -s /tmp/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock /tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock
[2023-02-10T00:53:38.095Z] Command in container failed: test -e /tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock || ln -s /tmp/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock /tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock
[2023-02-10T00:53:38.095Z] ln: failed to create symbolic link '/tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock': File exists
[2023-02-10T00:53:38.095Z] Exit code 1
[2023-02-10T00:53:38.228Z] (node:19755) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
[2023-02-10T00:53:38.228Z] (Use `node --trace-deprecation ...` to show where the warning was created)
[2023-02-10T00:53:38.230Z] @devcontainers/cli 0.29.0. Node.js v16.14.2. linux 5.10.102.1-microsoft-standard-WSL2 x64.
[2023-02-10T00:53:38.230Z] Start: Run: docker buildx version
[2023-02-10T00:53:38.357Z] Stop (127 ms): Run: docker buildx version
[2023-02-10T00:53:38.358Z] github.com/docker/buildx v0.9.1 ed00243a0ce2a0aee75311b06e32d33b44729689
[2023-02-10T00:53:38.358Z] 
[2023-02-10T00:53:38.364Z] Start: Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:38.440Z] Stop (76 ms): Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:38.443Z] Start: Inspecting container
[2023-02-10T00:53:38.444Z] Start: Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:38.522Z] Stop (78 ms): Run: docker inspect --type container 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005
[2023-02-10T00:53:38.522Z] Stop (79 ms): Inspecting container
[2023-02-10T00:53:38.523Z] Start: Run in container: /bin/sh
[2023-02-10T00:53:38.526Z] Start: Run in container: uname -m
[2023-02-10T00:53:38.691Z] x86_64
[2023-02-10T00:53:38.691Z] 
[2023-02-10T00:53:38.691Z] Stop (165 ms): Run in container: uname -m
[2023-02-10T00:53:38.691Z] Start: Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-02-10T00:53:38.693Z] PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 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
[2023-02-10T00:53:38.693Z] 
[2023-02-10T00:53:38.693Z] Stop (2 ms): Run in container: (cat /etc/os-release || cat /usr/lib/os-release) 2>/dev/null
[2023-02-10T00:53:38.694Z] Start: Run in container: cat /etc/passwd
[2023-02-10T00:53:38.695Z] Stop (1 ms): Run in container: cat /etc/passwd
[2023-02-10T00:53:38.696Z] userEnvProbe: loginInteractiveShell (default)
[2023-02-10T00:53:38.696Z] Start: Run in container: test -f '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486/env-loginInteractiveShell.json'
[2023-02-10T00:53:38.698Z] 
[2023-02-10T00:53:38.698Z] 
[2023-02-10T00:53:38.698Z] Stop (2 ms): Run in container: test -f '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486/env-loginInteractiveShell.json'
[2023-02-10T00:53:38.698Z] Start: Run in container: mkdir -p '/home/vscode/.devcontainer' && CONTENT="$(cat '/home/vscode/.devcontainer/.onCreateCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-02-10T00:09:31.482395386Z}" != '2023-02-10T00:09:31.482395386Z' ] && echo '2023-02-10T00:09:31.482395386Z' > '/home/vscode/.devcontainer/.onCreateCommandMarker'
[2023-02-10T00:53:38.700Z] 
[2023-02-10T00:53:38.700Z] 
[2023-02-10T00:53:38.700Z] Exit code 1
[2023-02-10T00:53:38.700Z] Stop (2 ms): Run in container: mkdir -p '/home/vscode/.devcontainer' && CONTENT="$(cat '/home/vscode/.devcontainer/.onCreateCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-02-10T00:09:31.482395386Z}" != '2023-02-10T00:09:31.482395386Z' ] && echo '2023-02-10T00:09:31.482395386Z' > '/home/vscode/.devcontainer/.onCreateCommandMarker'
[2023-02-10T00:53:38.701Z] Start: Run in container: cat '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486/env-loginInteractiveShell.json'
[2023-02-10T00:53:38.702Z] {
    "HOSTNAME": "40976cc53d0f",
    "GLOBAL_DEPS": "/workspaces/node_modules/.bin",
    "PULUMI": "${containerEnv:HOME}/.pulumi/bin",
    "REMOTE_CONTAINERS_IPC": "/tmp/vscode-remote-containers-ipc-d548bee7a9e621e89ef5917abdf7319ac33435c8.sock",
    "HOME": "/home/vscode",
    "LS_COLORS": "",
    "DOCKER_BUILDKIT": "1",
    "VOLTA_HOME": "/home/vscode/.volta",
    "LESSCLOSE": "/usr/bin/lesspipe %s %s",
    "REMOTE_CONTAINERS_SOCKETS": "[\"/tmp/vscode-ssh-auth-d548bee7a9e621e89ef5917abdf7319ac33435c8.sock\",\"/tmp/.X11-unix/X1\",\"/home/vscode/.gnupg/S.gpg-agent\"]",
    "LESSOPEN": "| /usr/bin/lesspipe %s",
    "USER": "vscode",
    "SHLVL": "1",
    "BASH_ENV": "~/.bashrc",
    "PROMPT_DIRTRIM": "4",
    "PATH": "/home/vscode/.volta/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vscode/.local/bin",
    "_": "/usr/bin/cat"
}
[2023-02-10T00:53:38.702Z] 
[2023-02-10T00:53:38.702Z] Stop (1 ms): Run in container: cat '/tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486/env-loginInteractiveShell.json'
[2023-02-10T00:53:38.702Z] Start: Run in container: mkdir -p '/home/vscode/.devcontainer' && CONTENT="$(cat '/home/vscode/.devcontainer/.updateContentCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-02-10T00:09:31.482395386Z}" != '2023-02-10T00:09:31.482395386Z' ] && echo '2023-02-10T00:09:31.482395386Z' > '/home/vscode/.devcontainer/.updateContentCommandMarker'
[2023-02-10T00:53:38.704Z] 
[2023-02-10T00:53:38.705Z] 
[2023-02-10T00:53:38.705Z] Exit code 1
[2023-02-10T00:53:38.705Z] Stop (3 ms): Run in container: mkdir -p '/home/vscode/.devcontainer' && CONTENT="$(cat '/home/vscode/.devcontainer/.updateContentCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-02-10T00:09:31.482395386Z}" != '2023-02-10T00:09:31.482395386Z' ] && echo '2023-02-10T00:09:31.482395386Z' > '/home/vscode/.devcontainer/.updateContentCommandMarker'
[2023-02-10T00:53:38.705Z] Start: Run in container: mkdir -p '/home/vscode/.devcontainer' && CONTENT="$(cat '/home/vscode/.devcontainer/.postCreateCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-02-10T00:09:31.482395386Z}" != '2023-02-10T00:09:31.482395386Z' ] && echo '2023-02-10T00:09:31.482395386Z' > '/home/vscode/.devcontainer/.postCreateCommandMarker'
[2023-02-10T00:53:38.709Z] 
[2023-02-10T00:53:38.709Z] 
[2023-02-10T00:53:38.709Z] Exit code 1
[2023-02-10T00:53:38.709Z] Stop (4 ms): Run in container: mkdir -p '/home/vscode/.devcontainer' && CONTENT="$(cat '/home/vscode/.devcontainer/.postCreateCommandMarker' 2>/dev/null || echo ENOENT)" && [ "${CONTENT:-2023-02-10T00:09:31.482395386Z}" != '2023-02-10T00:09:31.482395386Z' ] && echo '2023-02-10T00:09:31.482395386Z' > '/home/vscode/.devcontainer/.postCreateCommandMarker'
[2023-02-10T00:53:38.714Z] Stop (672 ms): Run in Host: /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /home/vscode/.vscode-remote-containers/dist/dev-containers-cli-0.275.1/dist/spec-node/devContainersSpecCLI.js run-user-commands --container-session-data-folder /tmp/devcontainers-d8bbd3af-6c01-4d70-ba77-15f1816d14241675990414486 --workspace-folder /home/vscode/projects/cms --id-label devcontainer.local_folder=\\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms --id-label devcontainer.config_file=/home/vscode/projects/cms/.devcontainer/devcontainer.json --container-id 40976cc53d0f08dff139f14b8766518a5bd03c555b12f418c96ab7680b37d005 --log-level debug --log-format json --config /home/vscode/projects/cms/.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-d548bee7a9e621e89ef5917abdf7319ac33435c8.sock --remote-env SSH_AUTH_SOCK=/tmp/vscode-ssh-auth-d548bee7a9e621e89ef5917abdf7319ac33435c8.sock --remote-env DISPLAY=:1 --remote-env REMOTE_CONTAINERS_DISPLAY_SOCK=/tmp/.X11-unix/X1 --remote-env REMOTE_CONTAINERS=true --mount-workspace-git-root true
[2023-02-10T00:53:38.718Z] Start: Run in container: # Test for /home/vscode/.gitconfig and git
[2023-02-10T00:53:38.721Z] /home/vscode/.gitconfig exists
[2023-02-10T00:53:38.721Z] 
[2023-02-10T00:53:38.721Z] Exit code 1
[2023-02-10T00:53:38.721Z] Stop (3 ms): Run in container: # Test for /home/vscode/.gitconfig and git
[2023-02-10T00:53:38.727Z] Start: Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /tmp/vscode-remote-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8.js git-credential-helper $*; }; f' || true
[2023-02-10T00:53:38.730Z] 
[2023-02-10T00:53:38.730Z] 
[2023-02-10T00:53:38.731Z] Stop (4 ms): Run in container: command -v git >/dev/null 2>&1 && git config --global --replace-all credential.helper '!f() { /home/vscode/.vscode-server/bin/e2816fe719a4026ffa1ee0189dc89bdfdbafb164/node /tmp/vscode-remote-containers-d548bee7a9e621e89ef5917abdf7319ac33435c8.js git-credential-helper $*; }; f' || true
[2023-02-10T00:53:52.194Z] Start: Run: wsl -d Ubuntu-22.04 -e wslpath -u \\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms
[2023-02-10T00:53:52.364Z] Stop (170 ms): Run: wsl -d Ubuntu-22.04 -e wslpath -u \\wsl.localhost\Ubuntu-22.04\home\vscode\projects\cms

Any insight or help on this would be very much appreciated. Thanks in advance!

samruddhikhandale commented 1 year ago

Hi 👋

I tried to reproduce with a simple Ubuntu Template (jammy) where Developer: Reload Window worked fine for me.

I am in my devcontainer and use the Developer: Reload Window command only to now have it break the connection to the container where it didn't used to before. When I do this, I receive this error message.

This is strange and definitely should not happen. @ontoneio would it be possible to paste the dev container config? I should be able to provide better insights then.

Also, can you provide the following details -

ontoneio commented 1 year ago

Hi @samruddhikhandale ! Appreciate the quick response!

Here's the devcontainer.json, sorry for the lack of clean up.

{
  "name": "web-cms",
  // "image": "ghcr.io/alcoitd/cms-devcontainer:2.1.0",
  "build": {
    "context": "../",
    "dockerfile": "Dockerfile",
    "args": {
      "vscode": "true"
    }
  },
  "features": {
    "docker-in-docker": {
      "version": "latest",
      "moby": true,
      "dockerDashComposeVersion": "v2"
    },
    "ghcr.io/devcontainers/features/github-cli:1": {
      "version": "latest"
    }
},
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode",
"runArgs": [ "--init", "--privileged"],
"overrideCommand": false,
"workspaceMount": "source=/home/vscode/projects/cms,target=/workspaces,type=bind,consistency=cached",
"workspaceFolder": "/workspaces",
  // Use 'forwardPorts' to make a list of ports inside the container available locally.
  "forwardPorts": [3000, 3333, 8000],
  "remoteEnv": {
    "PATH": "${containerEnv:PATH}:${containerEnv:GLOBAL_DEPS}:${containerEnv:PULUMI}"
  },
  "containerEnv": {
    "GLOBAL_DEPS": "/workspaces/node_modules/.bin",
    "PULUMI": "${containerEnv:HOME}/.pulumi/bin"
  },
  "mounts": [
    "source=cms-devcontainer-extensions,target=/root/.vscode-server/extensions,type=volume",
    "source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"
  ],
  "postCreateCommand": "chmod +x /workspaces/tools/config/postCreate.sh && /workspaces/tools/config/postCreate.sh",
  // TODO: add `hostRequirements`: cpus, memory, storage

  // Set *default* container specific settings.json values on container create.
  "customizations": {
    // Configure properties specific to VS Code.
    "vscode": {
        "settings": {
            "peacock.color": "#e96143",
            "peacock.remoteColor": "#4aace9",
            "peacock.surpriseMeOnStartup": false,
            "workbench.colorCustomizations": {
              "activityBar.activeBackground": "#77c1ef",
              "activityBar.activeBorder": "#e41b97",
              "activityBar.background": "#77c1ef",
              "activityBar.foreground": "#15202b",
              "activityBar.inactiveForeground": "#15202b99",
              "activityBarBadge.background": "#e41b97",
              "activityBarBadge.foreground": "#e7e7e7",
              "sash.hoverBorder": "#77c1ef",
              "statusBar.background": "#4aace9",
              "statusBar.foreground": "#15202b",
              "statusBarItem.hoverBackground": "#1d97e3",
              "statusBarItem.remoteBackground": "#219e11",
              "statusBarItem.remoteForeground": "#15202b",
              "titleBar.activeBackground": "#4aace9",
              "titleBar.activeForeground": "#15202b",
              "titleBar.inactiveBackground": "#4aace999",
              "titleBar.inactiveForeground": "#15202b99"
            },
            "html.autoClosingTags": true,
            "javascript.autoClosingTags": true,
            "typescript.autoClosingTags": true,
            "javascript.suggest.autoImports": true,
            "typescript.suggest.autoImports": true,
            "javascript.updateImportsOnFileMove.enabled": "always",
            "typescript.updateImportsOnFileMove.enabled": "always",
            "emmet.excludeLanguages": [],
            "emmet.includeLanguages": {
              "vue-html": "html",
              "javascript": "javascriptreact"
            },
            "files.trimTrailingWhitespace": true,
            "[markdown]": {
              "files.trimTrailingWhitespace": false
            },
            "editor.occurrencesHighlight": true,
            "editor.linkedEditing": true,
            "terminal.integrated.defaultProfile.linux": "bash",
            "git.mergeEditor": true,
            "git.showCommitInput": false,
            "git.useEditorAsCommitInput": false,
            "git.enableSmartCommit": true,
            "git.terminalGitEditor": true,
            "git.autofetch": true,
            "git.autoStash": true,
            "git.postCommitCommand": "sync",
            "git.branchProtection": ["main", "develop"],
            "githubPullRequests.assignCreated": "${user}",
            "githubIssues.userCompletions.enabled": true,
            "githubIssues.assignWhenWorking": true,
            "githubIssues.useBranchForIssues": "on",
            "githubIssues.issueBranchTitle": "issue/${issueNumber}",
            "git.branchWhitespaceChar": "-",
            "git.branchValidationRegex": "^(feature|issue|bugfix|release|refactor|hotfix|test|experiment)\/([0-9]+|[a-zA-Z]+)",
            "scm.showActionButton": false,
            "npm.exclude": "**/apps/**",
            "npm.scriptExplorerExclude": ["(update:env)", "(prepare)(?!-)"],
            "eslint.validate": ["json"],
            "shellformat.path": "/usr/local/bin/shfmt"
        },
        // Add the IDs of extensions you want installed when the container is created.
        "extensions": [
          "nrwl.angular-console",
          "esbenp.prettier-vscode",
          "firsttris.vscode-jest-runner",
          "ms-azuretools.vscode-docker",
          "temitope1909.dotenv-intellisense",
          "mhutchie.git-graph",
          "github.vscode-pull-request-github",
          "christian-kohler.npm-intellisense",
          "mutantdino.resourcemonitor",
          "gruntfuggly.todo-tree",
          "vue.volar",
          "redhat.vscode-yaml",
          "Lokalise.i18n-ally",
          "quicktype.quicktype",
          "egomobile.vscode-powertools",
          "BriteSnow.vscode-toggle-quotes",
          "tusaeff.vscode-typescript-destructure-plugin",
          "foxundermoon.shell-format",
          "funkyremi.vscode-google-translate",
          "oderwat.indent-rainbow",
          "mikestead.dotenv",
          "ms-vscode.azurecli",
          "ms-azuretools.vscode-azureappservice",
          "mkhl.shfmt",
          "kingoftac.fast-snippets",
          "webreflection.literally-html",
          "bashmish.es6-string-css",
          "christian-kohler.path-intellisense",
          "astro-build.astro-vscode",
          "bradgashler.htmltagwrap"
        ]
    }
  }
}

Thanks for taking a look at this.

samruddhikhandale commented 1 year ago

Thanks, looks like the Dockerfile contents are missing for me to repro the dev container.

Looking at the error logs,

[2023-02-10T00:53:38.095Z] ln: failed to create symbolic link '/tmp/user/1000/vscode-wayland-98e044ba9b38ae9859314dd3b95d69c73867d515.sock': File exists [2023-02-10T00:53:38.095Z] Exit code 1

I suspect you have an issue with your ln command. Can you append it with -snf flag and retry?

ontoneio commented 1 year ago

Hi @samruddhikhandale ! So sorry for the delay in getting this to you. Here is the Dockerfile used to build the Devcontainer.

# ----------------------------------------------------------
# VS-Code Development Docker Image
# ----------------------------------------------------------
#
FROM mcr.microsoft.com/vscode/devcontainers/base:ubuntu-22.04 as base

# BASE ARGS
ARG INSTALL_ZSH="false"
ARG UPGRADE_PACKAGES="true"
ARG USE_MOBY="true"
ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=$USER_UID
ARG SHFMT_VERSION="3.5.1"
ARG vscode
# BASE ENV
ENV HOME=/home/${USERNAME}
# Enable new "BUILDKIT" mode for Docker CLI
ENV DOCKER_BUILDKIT=1

RUN if [[ -z "$vscode" ]] ; then printf "\nERROR: This Dockerfile needs to be built with VS Code !" && exit 1; else printf "VS Code is detected: $vscode"; fi

RUN mkdir -p $HOME/.vscode-server/extensions \
    && chown -R $USERNAME ${HOME}/.vscode-server
RUN apt-get update -y && apt-get install -y wget ca-certificates build-essential g++ libx11-dev libxkbfile-dev libsecret-1-dev python-is-python3 xsel make maven apache2 &&  apt-get autoremove -y && apt-get clean -y

FROM base as op_system

SHELL [ "/bin/bash", "-c" ]
# since we're starting non-interactive shell,
# we wil need to tell bash to load .bashrc manually
ENV BASH_ENV ~/.bashrc
# needed by volta() function
ENV VOLTA_HOME ${HOME}/.volta
# make sure packages managed by volta will be in PATH
ENV PATH $VOLTA_HOME/bin:$PATH

RUN curl https://get.volta.sh | bash
RUN volta install node yarn nx husky netlify-cli jest @magnolia/cli moment-cli
RUN chown -R ${USERNAME}:$(id -gn ${USERNAME}) ${VOLTA_HOME}
RUN curl -fsSL https://get.pulumi.com | sh
RUN curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash
RUN chown -R ${USERNAME}:$(id -gn ${USERNAME}) ${HOME}/.config
RUN chown -R ${USERNAME}:$(id -gn ${USERNAME}) ${HOME}/.cache
RUN chown -R ${USERNAME}:$(id -gn ${USERNAME}) ${HOME}/.npm

RUN groupadd docker
RUN usermod -aG docker ${USERNAME}
# PACKAGING
FROM op_system as packaging

ARG BUILD_DATE
ARG RELEASE_VERSION

LABEL org.acgov.agency = "ITD"
LABEL org.acgov.department = "WEB"
LABEL org.acgov.service = "CMS-Dev:Content Management System Development Environment"
LABEL org.acgov.image.maintainer = "itdweb@acgov.org"
LABEL org.acgov.image.authors = "Jonathan.Mitchell@acgov.org"
LABEL org.acgov.image.created = ${BUILD_DATE}
LABEL org.acgov.image.version = ${RELEASE_VERSION}
LABEL org.acgov.image.title = "CMS Dev-Container"

# # Setting the ENTRYPOINT to docker-init.sh will configure non-root access to
# # the Docker socket if "overrideCommand": false is set in devcontainer.json.
# # The script will also execute CMD if you need to alter startup behaviors.
ENTRYPOINT [ "/usr/local/share/docker-init.sh" ]
CMD [ "sleep", "infinity" ]
chrmarti commented 1 year ago

What do you get for running ls -la /tmp/user/1000 inside the container?

ontoneio commented 1 year ago

Hi @chrmarti,

Sorry for the later response. Here's what I receive when inputting that command.

drwx------ 2 vscode vscode 120 Feb 23 19:34 .
drwx------ 3 vscode vscode  60 Feb 23 19:34 ..
srwxr-xr-x 1 vscode vscode   0 Feb 23 19:34 git-graph-askpass-J2FGJeYeRNaK9FadXP0rsn0GPukm54lD.sock
srwxr-xr-x 1 vscode vscode   0 Feb 23 19:34 vscode-git-1b435f8407.sock
srwxr-xr-x 1 vscode vscode   0 Feb 23 19:34 vscode-ipc-9da62c3b-41de-469b-9fcf-b76485621072.sock
lrwxrwxrwx 1 vscode vscode  65 Feb 23 19:34 vscode-wayland-e54e2daacfeb88ac46177665acb2a1fb5f9d32a2.sock -> /tmp/vscode-wayland-e54e2daacfeb88ac46177665acb2a1fb5f9d32a2.sock
chrmarti commented 1 year ago

@ontoneio Could you also append the output from docker inspect <container-id> (using the id of the current dev container)? It looks like /tmp/vscode-wayland-e54e2daacfeb88ac46177665acb2a1fb5f9d32a2.sock doesn't exist although we look it up on the container.

ontoneio commented 1 year ago

@chrmarti Sure! Here's the output of that.

[
    {
        "Id": "2275824f9e36f0ab8d11f5a2b7049f618c8b6520a0e2df9c194b263073f3b99d",
        "Created": "2023-02-23T01:14:16.973083654Z",
        "Path": "/bin/sh",
        "Args": [
            "-c",
            "echo Container started\ntrap \"exit 0\" 15\n/usr/local/share/docker-init.sh\nexec \"$@\"\nwhile sleep 1 \u0026 wait $!; do :; done",
            "-",
            "/usr/local/share/docker-init.sh",
            "sleep",
            "infinity"
        ],
        "State": {
            "Status": "running",
            "Running": true,
            "Paused": false,
            "Restarting": false,
            "OOMKilled": false,
            "Dead": false,
            "Pid": 27910,
            "ExitCode": 0,
            "Error": "",
            "StartedAt": "2023-02-23T19:34:52.136052029Z",
            "FinishedAt": "2023-02-23T19:34:35.844114681Z"
        },
        "Image": "sha256:fb1c4cfa10819d482c64ebf9a3a833d7dd7006bf4a693ce090c0776a5d7e567d",
        "ResolvConfPath": "/var/lib/docker/containers/2275824f9e36f0ab8d11f5a2b7049f618c8b6520a0e2df9c194b263073f3b99d/resolv.conf",
        "HostnamePath": "/var/lib/docker/containers/2275824f9e36f0ab8d11f5a2b7049f618c8b6520a0e2df9c194b263073f3b99d/hostname",
        "HostsPath": "/var/lib/docker/containers/2275824f9e36f0ab8d11f5a2b7049f618c8b6520a0e2df9c194b263073f3b99d/hosts",
        "LogPath": "/var/lib/docker/containers/2275824f9e36f0ab8d11f5a2b7049f618c8b6520a0e2df9c194b263073f3b99d/2275824f9e36f0ab8d11f5a2b7049f618c8b6520a0e2df9c194b263073f3b99d-json.log",
        "Name": "/pedantic_shannon",
        "RestartCount": 0,
        "Driver": "overlay2",
        "Platform": "linux",
        "MountLabel": "",
        "ProcessLabel": "",
        "AppArmorProfile": "",
        "ExecIDs": [
            "8f31dbfa67c8ad29bb542192c629a859f0435bcb5f4036e5e50cd5f1b6feb690",
            "2b2962680df99c27f3484bbc0e9d4b1f00c56496a1b544cabbbf0fd405f6437c",
            "19ef12b967c2b8a2ec93250296500e06b3e0c66b612e6beeb9e98c0db7f0fba4",
            "ba757a5c787d4e84a4ad015b87006814a21b129e1eaf139459f201d6876b77b3",
            "26d9cd0269e34fbdc651a9c44237d6d30feaf352f7614c58effb6f45720b6238",
            "430420536cef84e273e448d07fbefb631cc11e2cb0b6b9ef38600d4456b02b43"
        ],
        "HostConfig": {
            "Binds": null,
            "ContainerIDFile": "",
            "LogConfig": {
                "Type": "json-file",
                "Config": {}
            },
            "NetworkMode": "default",
            "PortBindings": {},
            "RestartPolicy": {
                "Name": "no",
                "MaximumRetryCount": 0
            },
            "AutoRemove": false,
            "VolumeDriver": "",
            "VolumesFrom": null,
            "CapAdd": null,
            "CapDrop": null,
            "CgroupnsMode": "host",
            "Dns": [],
            "DnsOptions": [],
            "DnsSearch": [],
            "ExtraHosts": null,
            "GroupAdd": null,
            "IpcMode": "private",
            "Cgroup": "",
            "Links": null,
            "OomScoreAdj": 0,
            "PidMode": "",
            "Privileged": true,
            "PublishAllPorts": false,
            "ReadonlyRootfs": false,
            "SecurityOpt": [
                "label=disable"
            ],
            "UTSMode": "",
            "UsernsMode": "",
            "ShmSize": 67108864,
            "Runtime": "runc",
            "ConsoleSize": [
                0,
                0
            ],
            "Isolation": "",
            "CpuShares": 0,
            "Memory": 0,
            "NanoCpus": 0,
            "CgroupParent": "",
            "BlkioWeight": 0,
            "BlkioWeightDevice": [],
            "BlkioDeviceReadBps": null,
            "BlkioDeviceWriteBps": null,
            "BlkioDeviceReadIOps": null,
            "BlkioDeviceWriteIOps": null,
            "CpuPeriod": 0,
            "CpuQuota": 0,
            "CpuRealtimePeriod": 0,
            "CpuRealtimeRuntime": 0,
            "CpusetCpus": "",
            "CpusetMems": "",
            "Devices": [],
            "DeviceCgroupRules": null,
            "DeviceRequests": null,
            "KernelMemory": 0,
            "KernelMemoryTCP": 0,
            "MemoryReservation": 0,
            "MemorySwap": 0,
            "MemorySwappiness": null,
            "OomKillDisable": false,
            "PidsLimit": null,
            "Ulimits": null,
            "CpuCount": 0,
            "CpuPercent": 0,
            "IOMaximumIOps": 0,
            "IOMaximumBandwidth": 0,
            "Mounts": [
                {
                    "Type": "bind",
                    "Source": "/home/vscode/projects/cms",
                    "Target": "/workspaces",
                    "Consistency": "cached"
                },
                {
                    "Type": "volume",
                    "Source": "dind-var-lib-docker",
                    "Target": "/var/lib/docker"
                },
                {
                    "Type": "volume",
                    "Source": "cms-devcontainer-extensions",
                    "Target": "/root/.vscode-server/extensions"
                },
                {
                    "Type": "bind",
                    "Source": "/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-22.04/71329c4cc6e32171553fa81d044eb31d1a3aac52ba9376c4a99f4505c494cf5b",
                    "Target": "/var/run/docker-host.sock"
                },
                {
                    "Type": "volume",
                    "Source": "vscode",
                    "Target": "/vscode"
                },
                {
                    "Type": "bind",
                    "Source": "/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-22.04/1e3f10efd5b66e89511d4ace575ae6f00a11f07d7c405a94977aebc6893fa00c",
                    "Target": "/tmp/vscode-wayland-e54e2daacfeb88ac46177665acb2a1fb5f9d32a2.sock"
                }
            ],
            "MaskedPaths": null,
            "ReadonlyPaths": null,
            "Init": true
        },
        "GraphDriver": {
            "Data": {
                "LowerDir": "/var/lib/docker/overlay2/892d42dbf97ac2994d4839c20f18052466cf8e218d894008a344412c4802e859-init/diff:/var/lib/docker/overlay2/x56lxbg3gy8kidsrqtiocl39t/diff:/var/lib/docker/overlay2/j2q562eo7aaltk6sv49e2dd0z/diff:/var/lib/docker/overlay2/b9c2avmq25xtl686r6lliy7mz/diff:/var/lib/docker/overlay2/d0oh7kzml3ojzg01uukibh4j8/diff:/var/lib/docker/overlay2/n0ynvmjhhnh71jzvp9bohfkr6/diff:/var/lib/docker/overlay2/41fawefbjznve4oyj4itve5z4/diff:/var/lib/docker/overlay2/6cbqmcgsc0oyrcczcserenbn0/diff:/var/lib/docker/overlay2/mv9fcg9k1awgxcftt8jt1f07c/diff:/var/lib/docker/overlay2/j8m760o3t94mmgp8dg3twix62/diff:/var/lib/docker/overlay2/oawwnwmabzuu7wa3t40may6x9/diff:/var/lib/docker/overlay2/xnuu0fzir04pcwv2syjzgydzc/diff:/var/lib/docker/overlay2/kbiykcu2yww2685ezgdsc0cel/diff:/var/lib/docker/overlay2/p6u5pfq9i8bgoidndxvl5b353/diff:/var/lib/docker/overlay2/mvvfpk7mbyzast8s5r5s7kz9f/diff:/var/lib/docker/overlay2/pklflssw7vxljq18klvnr4vm5/diff:/var/lib/docker/overlay2/93tfoj4o9leqt09z54jbiuaca/diff:/var/lib/docker/overlay2/ltwje91rfya2mu4x3u93vxprv/diff:/var/lib/docker/overlay2/oi88zzb3rl3j1wgcj84xn61rz/diff:/var/lib/docker/overlay2/2bb9a45763adce8c56d40ea12715993658b3366f927e023903aa06668fb99981/diff:/var/lib/docker/overlay2/7d72543a95c4aa0e5d19d843112abbeada1915d9121771dd5f913d91bfb3ce88/diff:/var/lib/docker/overlay2/8eb5cd89aed9b11d464996b46911beae4e113bf5311d3d3fb1769a6b0fe377d1/diff:/var/lib/docker/overlay2/ce1c44a15b3dba024993da37880b3d0aa1a0c1e82b952030e1be331f94351471/diff:/var/lib/docker/overlay2/fa2af9a743c2df7c194cfe043e2708bf8c14cc37fc8173b7ca3556642c3cc258/diff:/var/lib/docker/overlay2/2ac1d57c54eb5984253f408276fc18d21b23c91416003b4fbf2a7db5f883f745/diff:/var/lib/docker/overlay2/5aeb755732c2998bdff87de73d79105f252f70c3a88a824dd6721800017ca57a/diff:/var/lib/docker/overlay2/a7b17e37c35a82b8fe4277c7237dd230f146a323e01a62fa5a0494860108f6d4/diff",
                "MergedDir": "/var/lib/docker/overlay2/892d42dbf97ac2994d4839c20f18052466cf8e218d894008a344412c4802e859/merged",
                "UpperDir": "/var/lib/docker/overlay2/892d42dbf97ac2994d4839c20f18052466cf8e218d894008a344412c4802e859/diff",
                "WorkDir": "/var/lib/docker/overlay2/892d42dbf97ac2994d4839c20f18052466cf8e218d894008a344412c4802e859/work"
            },
            "Name": "overlay2"
        },
        "Mounts": [
            {
                "Type": "bind",
                "Source": "/home/vscode/projects/cms",
                "Destination": "/workspaces",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "dind-var-lib-docker",
                "Source": "/var/lib/docker/volumes/dind-var-lib-docker/_data",
                "Destination": "/var/lib/docker",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "volume",
                "Name": "cms-devcontainer-extensions",
                "Source": "/var/lib/docker/volumes/cms-devcontainer-extensions/_data",
                "Destination": "/root/.vscode-server/extensions",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-22.04/71329c4cc6e32171553fa81d044eb31d1a3aac52ba9376c4a99f4505c494cf5b",
                "Destination": "/var/run/docker-host.sock",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            },
            {
                "Type": "volume",
                "Name": "vscode",
                "Source": "/var/lib/docker/volumes/vscode/_data",
                "Destination": "/vscode",
                "Driver": "local",
                "Mode": "z",
                "RW": true,
                "Propagation": ""
            },
            {
                "Type": "bind",
                "Source": "/run/desktop/mnt/host/wsl/docker-desktop-bind-mounts/Ubuntu-22.04/1e3f10efd5b66e89511d4ace575ae6f00a11f07d7c405a94977aebc6893fa00c",
                "Destination": "/tmp/vscode-wayland-e54e2daacfeb88ac46177665acb2a1fb5f9d32a2.sock",
                "Mode": "",
                "RW": true,
                "Propagation": "rprivate"
            }
        ],
        "Config": {
            "Hostname": "2275824f9e36",
            "Domainname": "",
            "User": "root",
            "AttachStdin": false,
            "AttachStdout": true,
            "AttachStderr": true,
            "Tty": false,
            "OpenStdin": false,
            "StdinOnce": false,
            "Env": [
                "PULUMI=${containerEnv:HOME}/.pulumi/bin",
                "GLOBAL_DEPS=/workspaces/node_modules/.bin",
                "PATH=/home/vscode/.volta/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",
                "HOME=/home/vscode",
                "DOCKER_BUILDKIT=1",
                "BASH_ENV=~/.bashrc",
                "VOLTA_HOME=/home/vscode/.volta"
            ],
            "Cmd": [
                "-c",
                "echo Container started\ntrap \"exit 0\" 15\n/usr/local/share/docker-init.sh\nexec \"$@\"\nwhile sleep 1 \u0026 wait $!; do :; done",
                "-",
                "/usr/local/share/docker-init.sh",
                "sleep",
                "infinity"
            ],
            "Image": "vsc-cms-09162038559623cb58209e1656b904da-uid",
            "Volumes": null,
            "WorkingDir": "",
            "Entrypoint": [
                "/bin/sh"
            ],
            "OnBuild": null,
            "Labels": {
                "desktop.docker.io/wsl-distro": "Ubuntu-22.04",
                "dev.containers.features": "common",
                "dev.containers.id": "base-ubuntu",
                "dev.containers.release": "v0.2.42",
                "dev.containers.source": "https://github.com/devcontainers/images",
                "dev.containers.timestamp": "Wed, 15 Feb 2023 00:06:39 GMT",
                "dev.containers.variant": "jammy",
                "devcontainer.config_file": "/home/vscode/projects/cms/.devcontainer/devcontainer.json",
                "devcontainer.local_folder": "\\\\wsl.localhost\\Ubuntu-22.04\\home\\vscode\\projects\\cms",
                "devcontainer.metadata": "[ {\"id\":\"ghcr.io/devcontainers/features/common-utils:2\"}, {\"id\":\"ghcr.io/devcontainers/features/git:1\"}, {\"remoteUser\":\"vscode\"}, {\"id\":\"docker-in-docker\",\"privileged\":true,\"entrypoint\":\"/usr/local/share/docker-init.sh\",\"mounts\":[{\"source\":\"dind-var-lib-docker\",\"target\":\"/var/lib/docker\",\"type\":\"volume\"}],\"customizations\":{\"vscode\":{\"extensions\":[\"ms-azuretools.vscode-docker\"]}}}, {\"id\":\"ghcr.io/devcontainers/features/github-cli:1\"}, {\"postCreateCommand\":\"chmod +x /workspaces/tools/config/postCreate.sh \u0026\u0026 /workspaces/tools/config/postCreate.sh\",\"customizations\":{\"vscode\":{\"settings\":{\"peacock.color\":\"#e96143\",\"peacock.remoteColor\":\"#4aace9\",\"peacock.surpriseMeOnStartup\":false,\"workbench.colorCustomizations\":{\"activityBar.activeBackground\":\"#77c1ef\",\"activityBar.activeBorder\":\"#e41b97\",\"activityBar.background\":\"#77c1ef\",\"activityBar.foreground\":\"#15202b\",\"activityBar.inactiveForeground\":\"#15202b99\",\"activityBarBadge.background\":\"#e41b97\",\"activityBarBadge.foreground\":\"#e7e7e7\",\"sash.hoverBorder\":\"#77c1ef\",\"statusBar.background\":\"#4aace9\",\"statusBar.foreground\":\"#15202b\",\"statusBarItem.hoverBackground\":\"#1d97e3\",\"statusBarItem.remoteBackground\":\"#219e11\",\"statusBarItem.remoteForeground\":\"#15202b\",\"titleBar.activeBackground\":\"#4aace9\",\"titleBar.activeForeground\":\"#15202b\",\"titleBar.inactiveBackground\":\"#4aace999\",\"titleBar.inactiveForeground\":\"#15202b99\"},\"html.autoClosingTags\":true,\"javascript.autoClosingTags\":true,\"typescript.autoClosingTags\":true,\"javascript.suggest.autoImports\":true,\"typescript.suggest.autoImports\":true,\"javascript.updateImportsOnFileMove.enabled\":\"always\",\"typescript.updateImportsOnFileMove.enabled\":\"always\",\"emmet.excludeLanguages\":[],\"emmet.includeLanguages\":{\"vue-html\":\"html\",\"javascript\":\"javascriptreact\"},\"files.trimTrailingWhitespace\":true,\"[markdown]\":{\"files.trimTrailingWhitespace\":false},\"editor.occurrencesHighlight\":true,\"editor.linkedEditing\":true,\"terminal.integrated.defaultProfile.linux\":\"bash\",\"git.mergeEditor\":true,\"git.showCommitInput\":false,\"git.useEditorAsCommitInput\":false,\"git.enableSmartCommit\":true,\"git.terminalGitEditor\":true,\"git.autofetch\":true,\"git.autoStash\":true,\"git.postCommitCommand\":\"sync\",\"git.branchProtection\":[\"main\",\"develop\"],\"githubPullRequests.assignCreated\":\"${user}\",\"githubIssues.userCompletions.enabled\":true,\"githubIssues.assignWhenWorking\":true,\"githubIssues.useBranchForIssues\":\"on\",\"githubIssues.issueBranchTitle\":\"issue/${issueNumber}\",\"git.branchWhitespaceChar\":\"-\",\"git.branchValidationRegex\":\"^(feature|issue|bugfix|release|refactor|hotfix|test|experiment)/([0-9]+|[a-zA-Z]+)\",\"scm.showActionButton\":false,\"npm.exclude\":\"**/apps/**\",\"npm.scriptExplorerExclude\":[\"(update:env)\",\"(prepare)(?!-)\"],\"eslint.validate\":[\"json\"],\"shellformat.path\":\"/usr/local/bin/shfmt\"},\"extensions\":[\"nrwl.angular-console\",\"esbenp.prettier-vscode\",\"firsttris.vscode-jest-runner\",\"ms-azuretools.vscode-docker\",\"temitope1909.dotenv-intellisense\",\"mhutchie.git-graph\",\"github.vscode-pull-request-github\",\"christian-kohler.npm-intellisense\",\"mutantdino.resourcemonitor\",\"gruntfuggly.todo-tree\",\"vue.volar\",\"redhat.vscode-yaml\",\"Lokalise.i18n-ally\",\"quicktype.quicktype\",\"egomobile.vscode-powertools\",\"BriteSnow.vscode-toggle-quotes\",\"tusaeff.vscode-typescript-destructure-plugin\",\"foxundermoon.shell-format\",\"funkyremi.vscode-google-translate\",\"oderwat.indent-rainbow\",\"mikestead.dotenv\",\"ms-vscode.azurecli\",\"ms-azuretools.vscode-azureappservice\",\"mkhl.shfmt\",\"kingoftac.fast-snippets\",\"webreflection.literally-html\",\"bashmish.es6-string-css\",\"christian-kohler.path-intellisense\",\"astro-build.astro-vscode\",\"bradgashler.htmltagwrap\",\"bierner.markdown-checkbox\"]}},\"mounts\":[\"source=cms-devcontainer-extensions,target=/root/.vscode-server/extensions,type=volume\",\"source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind\"],\"containerEnv\":{\"GLOBAL_DEPS\":\"/workspaces/node_modules/.bin\",\"PULUMI\":\"${containerEnv:HOME}/.pulumi/bin\"},\"remoteUser\":\"vscode\",\"remoteEnv\":{\"PATH\":\"${containerEnv:PATH}:${containerEnv:GLOBAL_DEPS}:${containerEnv:PULUMI}\"},\"overrideCommand\":false,\"forwardPorts\":[3000,3333,8000]} ]",
                "org.acgov.agency": "= ITD",
                "org.acgov.department": "= WEB",
                "org.acgov.image.authors": "= Jonathan.Mitchell@acgov.org",
                "org.acgov.image.created": "= ",
                "org.acgov.image.maintainer": "= itdweb@acgov.org",
                "org.acgov.image.title": "= CMS Dev-Container",
                "org.acgov.image.version": "= ",
                "org.acgov.service": "= CMS-Dev:Content Management System Development Environment",
                "org.opencontainers.image.ref.name": "ubuntu",
                "org.opencontainers.image.version": "22.04",
                "version": "1.0.8"
            }
        },
        "NetworkSettings": {
            "Bridge": "",
            "SandboxID": "31271d7648a8d534a7174cdb8fa5cf034182dc36648072268310955712fe84ff",
            "HairpinMode": false,
            "LinkLocalIPv6Address": "",
            "LinkLocalIPv6PrefixLen": 0,
            "Ports": {},
            "SandboxKey": "/var/run/docker/netns/31271d7648a8",
            "SecondaryIPAddresses": null,
            "SecondaryIPv6Addresses": null,
            "EndpointID": "6c59377d1562bec023a82070793d845257c8e436783cb9e96d156e112d1585ea",
            "Gateway": "172.17.0.1",
            "GlobalIPv6Address": "",
            "GlobalIPv6PrefixLen": 0,
            "IPAddress": "172.17.0.2",
            "IPPrefixLen": 16,
            "IPv6Gateway": "",
            "MacAddress": "02:42:ac:11:00:02",
            "Networks": {
                "bridge": {
                    "IPAMConfig": null,
                    "Links": null,
                    "Aliases": null,
                    "NetworkID": "de41fb18d0ee70af36080b7fc381d0e849cca0e2054ab2c45153d15a90cbc4c2",
                    "EndpointID": "6c59377d1562bec023a82070793d845257c8e436783cb9e96d156e112d1585ea",
                    "Gateway": "172.17.0.1",
                    "IPAddress": "172.17.0.2",
                    "IPPrefixLen": 16,
                    "IPv6Gateway": "",
                    "GlobalIPv6Address": "",
                    "GlobalIPv6PrefixLen": 0,
                    "MacAddress": "02:42:ac:11:00:02",
                    "DriverOpts": null
                }
            }
        }
    }
]
chrmarti commented 1 year ago

Maybe the symbolic link's target is missing. I can protect against that, but we can't update the mount point (assuming that would fix the WAYLAND_DISPLAY we set).

Does rebuilding the container make it work again? When does it break after that?

ontoneio commented 1 year ago

The rebuilding of the container does not solve the situation unfortunately. Same thing happens upon a window reload. For clarity sake, I wiped out all of my images and volumes before initiating a devcontainer build without the cache and same story.