Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

devcontainer exec does not always propagate SIGTERM to docker exec

Đang mở
#888 1 bình luận 0 reaction 1 người được giao Xem trên GitHub

@chrmarti đang làm issue này rồi.

Từ ngày 5/9/2024.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
3k
Fork
461
Merge trung bình
18 phút
Pull request đã merge (30 ngày)
5

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của devcontainers/cli

Tất cả issue của devcontainers/cli

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.