Skip to content

Add support for runArgs devcontainer property #441

Open
@kujenga

Description

@kujenga

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions