Skip to content

Custom DOCKER_EXTRA_ARGS #1105

@blackliner

Description

@blackliner

Is there a way for users to provide custom, additional args to the docker run command?

export DOCKER_EXTRA_ARGS='--mount source=my-data-volume,target=/app/data'
# results in the following being called when launching a devcontainer
docker run <devcontainer_specific_stuff> --mount source=my-data-volume,target=/app/data <container_image> <commands>

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions