coder / coder/envbuilder

Add support for runArgs devcontainer property

Đang mở
#441 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
300
Fork
64
Merge trung bình
20 phút
Pull request đã merge (30 ngày)
1

Mô tả

[https://github.com/coder/envbuilder/blob/main/docs/devcontainer-spec-support.md]() does not currently mention the [`runArgs`]() part of the dev container specification:

> An array of [Docker CLI arguments]() that should be used when running the container. Defaults to \[\]. For example, this allows ptrace based debuggers like C++ to work in the container:
"runArgs": \[ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" \] .

Supporting this would make the envbuilder here much more flexible for various use cases where customization of the docker containers is needed.

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

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Hướng nghiên cứu

Start with docs/devcontainer-spec-support.md and compare its supported properties with the linked dev container specification entry for runArgs. Trace how supported properties become Docker run arguments, then add coverage for the documented example and verify that the resulting container receives those arguments.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
go
Lĩnh vực
devops
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
45/100

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.