devcontainers / devcontainers/spec

features not enabled for devcontainer started indirectly from docker compose

Open
#546 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
5.7k
Forks
496
PR merge metrics
No merged PRs in 30d

Description

## prerequisites
I have two devcontainers configured in a single repository, based on https://code.visualstudio.com/remote/advancedcontainers/connect-multiple-containers.

Both devcontainer.json files are pointed to a single docker-compose.yml, so when I create one of the devcontainers via vscode, the other also gets created. I switch between the containers during development using the `Dev Containers: Switch Container ` vscode command.

Both devcontainers have their own features configured.

## the problem
Only the container that I first create via vscode (which container to choose is irrelevant) has features enabled, and when I switch to the other container, it does not have any of the features enabled.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.