Add support for runArgs devcontainer property
- 主要语言
- Go
- 星标
- 300
- 派生
- 64
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 1
描述
[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.
贡献指南
这个仓库没有索引到贡献指南
调研方向
从 docs/devcontainer-spec-support.md 开始,将其中支持的属性与链接的 dev container specification 中关于 runArgs 的条目进行比较。跟踪支持的属性如何转换为 Docker run 参数,然后为文档中的示例添加覆盖,并验证生成的容器确实接收到这些参数。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- go
- 领域
- devops
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100