Copilot CLI: Built-in devcontainer support for multi-environment workflows #196439
Replies: 2 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
@AndreasKuhner +1, this is a real pain point for robotics/multiservice setups. Current workaround I use for multi-devcontainer Copilot CLI:
devcontainer exec --workspace-folder /path/to/container1 -- bash -c "gh copilot suggest '...'" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Copilot Agent Mode
Body
Hello all,
When working with multiple dev containers simultaneously (e.g., different ROS 2 workspaces, microservices, or multi-robot setups), there's currently no way to target a specific running devcontainer from the Copilot CLI agent overview.
Current behavior:
The CLI agent operates strictly within the terminal session it was started in. To use it inside a devcontainer, you must open a separate VS Code window attached to that container and start a new CLI session there.
Desired behavior:
Ability to list/select running devcontainers from the CLI (e.g., /devcontainer list, /devcontainer attach )
Run commands, edit files, and delegate sub-agents into a specific container context
Optionally: see all active agent sessions across containers in one overview
Use case:
I run multiple devcontainers for a robotics workspace (build container, simulation container, hardware container). Being able to switch agent context between them — or spawn sub-agents inside specific containers — would significantly streamline multi-environment development without juggling multiple VS Code windows.
On top, now that there is the
Agents Windowthat would be awesome to have everything at one spot (and that it might even carry info from on agent to the other...)Cheers,
Andreas
Beta Was this translation helpful? Give feedback.
All reactions