Allow choosing container setup from another repository #176168
Replies: 1 comment 2 replies
-
|
Hi, This is a fantastic suggestion! I totally get the frustration jumping into an OSS project without a solid devcontainer setup can feel like starting from scratch every time, especially when you're dealing with outdated or missing configs. The ability to point to a personal "devcontainer repo" (mirroring how dotfiles work for user-specific tweaks) would be a game-changer for streamlining workflows across diverse projects. It'd let folks like us boot up a familiar, pre-tuned environment right from the start, without the manual rebuild hassle. For context, I love how Codespaces already handles multiple configs beautifully: if a repo has several That said, extending this to an external repo reference (like {
"postCreateCommand": "git clone https://github.com/yourusername/my-devcontainers.git /workspaces/.codespaces/custom-dev && ln -s /workspaces/.codespaces/custom-dev/node-setup /workspaces/.devcontainer/node-setup"
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Copilot Feature Area
General
Body
When creating a new codespace, if a project has more than one container type defined in its devcontainer.json, you can choose between the different one. Similar to a dotfiles repo, I'd like to specify a devcontainer repo with a series of container types that should be added to that list.
Many Open Source projects so not specify devcontainers (or have out of date ones!), and it's a hassle to either put in my preferred devcontainer by hand and then rebuild. I'd love to be able to just specify my preferred devcontainer to be up and running from the beginning.
Beta Was this translation helpful? Give feedback.
All reactions