coder / coder/envbuilder

Add support for runArgs devcontainer property

Open
#441 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
300
Forks
64
Avg merge
20m
Merged PRs (30d)
1

Description

[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.

Contributor guide

No contributing guide indexed for this repository

Research direction

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.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.