microsoft / vscode-dev-containers

NOTE: Most of the contents of this repository have been migrated to the new devcontainers GitHub org (https://github.com/devcontainers). See https://github.com/devcontainers/template-starter and https://github.com/devcontainers/feature-starter for information on creating your own!
https://aka.ms/vscode-remote
MIT License
4.72k stars 1.41k forks source link

BUG - Docker Compose required #1600

Closed edwinhuish closed 1 year ago

edwinhuish commented 2 years ago

Steps to Reproduce:

  1. project root with any .env file in INI format (with section name)
  2. config dev container as docker-compose mode, build or rebuild the container.

Why it happen:

vscode run docker-compose version in the project root, but docker-compose read .env as default, and the project root .env not a valid docker-compose env file.

bamurtaugh commented 2 years ago

Thanks for opening @edwinhuish. Does this issue pertain to a specific dev container definition? This repo is for discussing specific definitions and Features (although our team has been actively working on an updated plan for community contributions and this repo moving forward, which we've now outlined in this issue: https://github.com/microsoft/vscode-dev-containers/issues/1589).