Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

devcontainer exec does not always propagate SIGTERM to docker exec

オープン
#888 コメント 1 件 リアクション 0 件 担当者 1 名 GitHub で見る

@chrmarti がすでに取り組んでいます。

2024年9月5日 から。

評価

この issue はまだ評価されていません。

説明

bug upstream

Steps to reproduce:

  • Run devcontainer exec without pty, for instance:
devcontainer exec --container-id 1234abcdefgh -- sleep infinity > /dev/null 2>&1
  • Check that on the host machine and inside the container you have infinity sleep process: ps -auxf |grep "infinity"
  • Interrupt devcontainer exec with SIGTERM, i.e. kill the process or just interrupt the terminal.
  • Check on the host machine the docker process is gone, but inside the container infinity sleep is dangling.

It seems docker exec is terminated without SIGTERM, leading to ungraceful termination.

主要言語
TypeScript
スター
3k
フォーク
461
平均マージ
18分
マージ済み PR(30日)
5

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

devcontainers/cli のほかの issue

devcontainers/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。