microsoft / microsoft/vscode-remote-release
open in folder connection crashes
Open
@chrmarti is already working on this.
Since Mar 17, 2026.
containers
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 469
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
I open a folder in a devcontainer and it keeps crashing / exiting / the connection keeps failing.
[34 ms] Dev Containers 0.447.0 in VS Code 1.111.0 (ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb).
- VSCode Version: 1.111.0
- Local OS Version:
- Remote OS Version:
- Remote Extension/Connection Type: Dev Container
- Logs:
[481063 ms] [06:58:52] Extension 'ms-azuretools.vscode-containers' v2.4.1 was successfully installed.
[06:58:52] Extension 'ms-python.autopep8' v2025.2.0 was successfully installed.
[06:58:52] Extension 'ms-python.vscode-python-envs' v1.22.0 was successfully installed.
[06:58:52] Extension 'ms-python.debugpy' v2025.18.0 was successfully installed.
[06:58:52] Extension 'ms-python.python' v2026.4.0 was successfully installed.
[06:58:52] Extension 'ms-python.vscode-pylance' v2026.1.1 was successfully installed.
[481470 ms] Port forwarding connection from 53672 > 45151 > 45151 in the container.
[481471 ms] Start: Run in container: /root/.vscode-server/bin/ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/node -e
[481604 ms] Port forwarding 53672 > 45151 > 45151 stderr: Connection established
[482499 ms] Start: Run in container: cat /proc/927/environ
[487612 ms] Port forwarding 53672 > 45151 > 45151 stderr: Remote close
[487709 ms] Port forwarding 53672 > 45151 > 45151 terminated with code 0 and signal null.
[684920 ms] Start: Run in container: cat /proc/1493/environ
[748258 ms] Running Dev Containers CLI: outdated --workspace-folder / --config /var/folders/g3/r38w812n7479l1bgm28zd86h0000gp/T/dev-container-tmp-bb7070f8-a492-41a0-9f9f-4c86e5949fd4/.devcontainer.json --output-format json --log-level debug --log-format json --terminal-columns 203 --terminal-rows 34
[748258 ms] Start: Run: /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Plugin).app/Contents/MacOS/Code Helper (Plugin) /Users/Adam.Gardner/.vscode/extensions/ms-vscode-remote.remote-containers-0.447.0/dist/spec-node/devContainersSpecCLI.js outdated --workspace-folder / --config /var/folders/g3/r38w812n7479l1bgm28zd86h0000gp/T/dev-container-tmp-bb7070f8-a492-41a0-9f9f-4c86e5949fd4/.devcontainer.json --output-format json --log-level debug --log-format json --terminal-columns 203 --terminal-rows 34
[748458 ms] @devcontainers/cli 0.83.3. Node.js v22.22.0. darwin 25.3.0 arm64.
[748458 ms] Start: Run: git rev-parse --show-cdup
[748499 ms] Loading 21 extra certificates from /var/folders/g3/r38w812n7479l1bgm28zd86h0000gp/T/vsch/certificates-9d71f4f5e2eca064a5d49c4cf221fd94d99f7221bb8504970f2f260d8179841d.pem.
[749165 ms] Start: Run: docker-credential-osxkeychain get
[749174 ms] Start: Run: docker-credential-osxkeychain get
[749177 ms] Start: Run: docker-credential-osxkeychain get
[749179 ms] Start: Run: docker-credential-osxkeychain get
[749182 ms] Start: Run: docker-credential-osxkeychain get
[749186 ms] Start: Run: docker-credential-osxkeychain get
[989378 ms] Start: Run in container: cat /proc/6253/environ
[1148473 ms] Port forwarding connection from 53884 > 45151 > 45151 in the container.
[1148473 ms] Start: Run in container: /root/.vscode-server/bin/ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/node -e
[1229473 ms] Start: Reconnection attempt 1
[1229473 ms] CLIHost does not need reconnection.
[1229473 ms] Start: Run: docker inspect --type container a85010197befddf741f747364c030ad84c740075ed7aac5d9209190ae30c27db
[1284258 ms] Start: Run: docker version --format {{json .}}
[1287030 ms] Port forwarding 53672 > 45151 > 45151: Local close
[1388474 ms] Port forwarding 53884 > 45151 > 45151: Local close
[1388485 ms] Port forwarding connection from 53985 > 45151 > 45151 in the container.
[1388485 ms] Start: Run in container: /root/.vscode-server/bin/ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/node -e
[1393481 ms] Port forwarding 53884 > 45151 > 45151 terminated by extension (killed) with code null and signal SIGKILL.
[1425475 ms] Port forwarding 53985 > 45151 > 45151: Local close
[1425487 ms] Port forwarding connection from 53991 > 45151 > 45151 in the container.
[1425487 ms] Start: Run in container: /root/.vscode-server/bin/ce099c1ed25d9eb3076c11e4a280f3eb52b4fbeb/node -e
[1430478 ms] Port forwarding 53985 > 45151 > 45151 terminated by extension (killed) with code null and signal SIGKILL.
[1461473 ms] Port forwarding 53991 > 45151 > 45151: Local close
[1466480 ms] Port forwarding 53991 > 45151 > 45151 terminated by extension (killed) with code null and signal SIGKILL.
Steps to Reproduce:
- Open a folder containing the below
.devcontainer/devcontainer.jsonin a devcontainer.
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/kubernetes-helm
{
"name": "Kubernetes-in-Codespaces",
"image": "ubuntu:noble",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker:1.8.0": { "version": "29.2.1" },
"ghcr.io/mpriscella/features/kind:1.0.1": { "version": "v0.31.0" },
"ghcr.io/devcontainers/features/python:1.8.0": { "version": "3.14.3" },
"ghcr.io/devcontainers-extra/features/wget-apt-get:1.0.17": {},
"ghcr.io/devcontainers/features/github-cli:1.1.0": { "version": "2.87.3" },
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {
"version": "v1.35.2", // kubectl version
"helm": "v3.20.0", // helm version
"minikube": "none" // minikube version
}
},
"forwardPorts": [8080],
"portsAttributes": {
"8080": { "label": "OTEL Demo" }
},
"hostRequirements": {
"cpus": 2
},
"postCreateCommand": "pip install -r .devcontainer/requirements.txt && python environment_installer.py",
"postAttachCommand": "python on_attach.py"
}
The only extensions I have installed are:
Let me know how I gather more feedback details if required!
Maybe also worth pointing out that I'm running in Podman roomful.
podman machine set --rootful=true
podman machine set --memory 6000
podman machine start
% podman machine ls
NAME VM TYPE CREATED LAST UP CPUS MEMORY DISK SIZE
podman-machine-default applehv 2 weeks ago Currently running 5 5.859GiB 100GiB
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.