Skip to content

devcontainer.json runArgs / upArgs for docker-compose command #6298

@yannissgarra

Description

@yannissgarra

It would be nice to support runArgs parameter to call some args on docker-compose command.

For example, we could use the --env-file option on docker-compose command to specify custom .env file name where we set COMPOSE_PROJECT_NAME (it's a common use case to have a committed .env file but an ignored .env.local file that override some values).

(It might also be an envFile parameter in devcontainer.json to specify the .env file to use)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    containersIssue in vscode-remote containersfeature-requestRequest for new features or functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions