microsoft / microsoft/vscode-remote-release

VSCode Dev Containers processes do not receive SIG signals

Open
#8,257 6 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug containers
Dominant language
Dockerfile
Stars
4.2k
Forks
470
Avg merge
1d 1h
Merged PRs (30d)
1

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.76.2
  • OS Version: WSL Ubuntu 22.04 with Docker Desktop

When running a process inside a dev container, the container does not emit any signals when terminating a process. E.g. if I have a Node.JS app and I run it with npm start, then I terminate the process via Ctrl+C, SIGINT or SIGTERM are not sent. Same thing if I create a VSCode task and then terminate said task.

Steps to Reproduce:

  1. Create a new Node dev container
  2. Run npm start
  3. Try exiting

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.