microsoft / microsoft/vscode-remote-release
Container reopened from Remote-SSH not stopping after closing the window
Open
@chrmarti is already working on this.
Since Dec 16, 2021.
bug
containers
debt
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
Dev containers that reopened from the Remote-SSH extension are kept running after closing the window. It should be stopped as how opening a container in cloned volume does.
I have even tried setting "shutdownAction": "stopContainer" in devcontainer.json, however, it didn't help.
- VSCode Version: 1.63.0
- Local OS Version: Windows 10 Build 18363
- Remote OS Version: ubuntu 20.04
- Remote Extension/Connection Type: Remote - SSH v0.68.0; Remote - Container v0.209.5
- Remote Docker Version: 20.10.11, build dea9396
- Docker Extension Version: v1.18.0
- Logs: Not sure where to get logs after closing the VS Code.
Steps to Reproduce:
- Open repo on Remote host SSH
- Reopen in Containers
- Successful opens/builds containers
- Close VS Code window.
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.