Can I specify a custom devcontainer.json path?
My projects all use a shared/common devcontainer configuration which uses docker-compose for supporting multiple containers. The json is in a subdirectory. Is it possible to tell coder where to look instead of relying on the default locations of repo root or .devcontainer/devcontainer.json?
I know I could add a basic one at repo root that “extends” the one in the subdirectory but that seems like something I should be able to configure rather than something I should have to adjust my already-functional native devcontainer setup to achieve.
3 Replies
<#1408398112489341038>
Category
Help needed
Product
Coder (v2)
Platform
macOS
Logs
Please post any relevant logs/error messages.
I believe we should correctly detect any running devcontainers in this scenario
As for declaring it statically with terraform or relying on auto discovery, I don’t believe either of those methods will work as of right now for you
I’ll make a note internally about that