microsoft / microsoft/vscode-remote-release

Container reopened from Remote-SSH not stopping after closing the window

Open
#6,056 18 comments 41 reactions 1 assignee View on GitHub

@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:

  1. Open repo on Remote host SSH
  2. Reopen in Containers
  3. Successful opens/builds containers
  4. Close VS Code window.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.