Add support for runArgs devcontainer property
- Langage dominant
- Go
- Étoiles
- 300
- Forks
- 64
- Merge moyen
- 20 min
- PR mergées (30 j)
- 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.
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- go
- Domaine
- devops
- Type d'issue
- Fonctionnalité
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 45/100