Open maxklock opened 3 years ago
+1
I was silly and assumed this already works out of the box when trying it out initially with one of my projects. Having to create and maintain a second configuration makes things both confusing and cumbersome.
While it's probably not as easy to maintain compatibility between the two systems I (and I'd bet many other people) would prefer not to clutter repositories with even more configuration files if there's already a very similar and stable solution out there. Especially since dev environments appear to use the remote containers extension under the hood as well.
I thought it worked out of the box too with .devcontainers
and I will not use this feature until it does
I agree with @EliiseS, .devcontainers
is the way to go.
Thanks for the feedback all :) we know that people <3 dev containers, but we are also looking at supporting other IDEs (initially some Jetbrains bits and Theia). To enable this we are looking at using Compose as agnostic and something all users could pick up.
We are looking at if part of that path is supporting the devcontainer.json on route and will keep you updated as we review this :)
I had too many hopes for this feature. I agree - so far is a total disappointment. Well - there are good things for sure - it's a great idea to use docker desktop as a workspace to keep all dev environments in one place. However the experience is not nice so far:
This issue brings up a lot of good points that I'm hoping are being addressed in the new version that will be released in the coming months. Here is the admonition in the documentation about the new release:
Dev Environments is changing
We’re working hard to make Dev Environments work even better for you and your teams. In the coming months, we’ll be introducing a new vision for Dev Environments.
In the mean time, it may take us longer to respond to requests for support.
If anyone has more info on the upcoming changes please post a link.
Tell us about your request You use the vscode remote development feature, but you implemented your own configuration system. Why not support .devcontainer configuration? I've already added those files to some of my repositories and now I would have to change everything to your custom system.
Which service(s) is this request for? Single container and Compose based dev environments
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? For my environments I sometimes need specific extensions or need to configure external mounts. With .devcontainer this is already possible, but not with .docker configuration.
Are you currently working around the issue? Currently i would not using dev environments. Instead i would directly use the vs code remote container system.