-
Notifications
You must be signed in to change notification settings - Fork 311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Devcontainer for vscode.dev? #9059
Comments
currently cannot do remote development because this is missing, please add 🙏 |
Similar to my comment in #7705 and original issue in #7715 nearly a year ago, but this support would be crucial to have to fully enable development on vscode.dev using personal infrastructure separate from the Codespaces workflow. Devcontainers are a great feature to apply reusability/repeatability concepts towards development environments, so it would be great to have this feature parity across all ways of accessing and using the vscode environment. |
Yes. I've been developing with Flutter with Rust on Android, which is very very uncommon, so we started using VSCode with all the extensions needes as Android Studio simply couldn't handle Flutter and Rust mixed with Kotlin properly. But imagine making everyone having to install everything for Flutter, Rust, Kotlin... So we started using Dev Containers. But every dev wants to code with their prefered system. I, for example, started using a Galaxy Tab S9 Ultra tablet and I'm very happy with it, because x64 computer bateries are simply trash, they are hot on my lap and macbooks are extremely expensive here, and I even use my phone on a TV in Samsung Dex mode sometimes, I also use a lapdock where I simply connect my phone and suddenly I have a laptop. So, vscode.dev attends all my needs except for the devcontainer, this is extremely needed so I can truly code anywhere and anyone on my company can simply get working from day 1 without having to install anything. It's also safer as nowadays, dependencies can run arbitrary code when installed. Devcontainers make total sense on the browser! I think it's already implictly supported as that's how codespaces work. I like codespaces but it's expensive for my needs currently (poor country). Pleaaaaaaase microsoft!!! We need this urgently. |
need this on my ipad and also our company can move to cloud development finally |
Is there any update on being able to connect to devcontainer from vscode.dev? |
@jjcasmar |
If at least it was possible to open a tunnel directly to a devcontainer, instead of to the host... |
@jjcasmar it is, you can run a devcontainer and then run vscode tunnel installer as a post install script or on the dockerfile, but it would be a little annoying and not the way it should be done |
I'd like to echo the need for this, as this would also allow a zero-installation full-featured coding solution on a browser-based OS, such as Chromium OS, e.g. for coding on low-grade/old laptops. |
@Ilykuleshov same here, on our company we want people to code on whatever device they have, even tablets (Tab S9 Ultra here). Codespaces is cool but too expensive and also for things like Android development where you need to have USB connection or maybe a local wireless connection for installing the APK on the phone over ADB, it's better to use a nearby machine. Without devcontainers though it's not easy to switch between development VMs easily (yes, we use VMs for isolation, and then containers for building with the correct dependencies) |
this is the only feature missing for us to use vscode on our company |
I tried his workaround of doing a live share from a devcontainer but vscode.dev refuses to load it #9493 I want this featureee so baaaad |
I didn't want to wait for Microsoft to work on this, so I wrote my own program. It builds dev containers using the dev container CLI and then injects the code CLI to create a tunnel. It isn't quite seamless, since you need to authenticate every time you create a new tunnel, and you only get five slots on vscode.dev. But it includes support for devcontainer.json-defined settings and extensions, so it almost feels as good as Codespaces. Until such time as there is official support, it does the job for me. |
My current solution is to stream VSCode from linux with Sunshine and use an Android Moonlight client. This is sad. Is VSCode simply allowed the local VSCode to open in a browser, then I could TCP forward from the tablet, which would be even better as I don't have to pass through Microsoft servers which adds delay. |
There's now a |
@YoRyan first of all, thanks, just tested this solution and is much faster via local ssh forwarding over my local network. Unfortunately the devcontainer plugin still does not work. For the devcontainer CLI, you're starting one with VSCode installed and then accessing it from outside? It's a good workaround but I wanted so bad for this to work with the extension already |
Precisely. The devcontainer CLI is made by Microsoft, so in theory the containers it creates should be just like those created by the official extension, or Codespaces. Obviously it would be preferable to have first-party support, but the extension is closed-source, so the ball is firmly in Microsoft's court. |
i need this feature for coding with default environments with no setup when someone joins our company, we use GPUs so cloud is needed but web version is essential |
I am also looking for a fully functional web interface. Tailscale + VSCode dev server works fine with native VS Code installations. However, one cannot do this with a Quest 3 device, as one can't install Tailscale nor VSCode there. So the online interface allows for truly remote development, bypassing the client device issue. Since it works through SSH, I don't see the impediment to use it through the TCP tunnel, other than the lack of implementation on Microsoft's side. |
need this to code on my home server with much more processing power, without burning my laptop, and also allocate one VM for an employee, but without the hassle of setting everything. Devcontainers on web is a must |
This is really needed, please please please add! |
this is seriously preventing me from use VSCode! Extremely needed! Please Microsoft its been 1 year and there are solutions from Google and Zed coming... |
needed in our company asap |
Related on Stack Overflow: How to use a devcontainer in vscode.dev? |
is microsoft avoiding this for us to pay for codespaces? this is annoying, we need for local android development, it's not even supported on codespaces there's no way weŕe going to install all C++ dependencies, android JDK, flutter, plugins, on all computers. We have a devcontainer for this already. |
We hear you! This is just non-trivial to do because the Dev Containers extension so far assumes that it can use Node.js API and the local filesystem and these parts of the code will need to change before we can make the extension available in the browser. |
for malware research this would also be useful, no local vscode installation with possible vulnerabilities, just the browser connecting to a VM with all the tools on the devcontainer. Also for developing using less known plugins |
any news on this? I tried and it still wont work |
Hi, I connected to a tunnel and I cannot use devcontainer or even install the Dev Containers extension on vscode.dev. I'm trying to code completely on the cloud but devcontainer is very much needed for me because I always destroy my VMs doing lota of stuff and I don't want to reinstall stuff.
Why there's no support for dev containers on tunnels?
Why it works on codespaces online if it's simply an online vscode?
Context: coding on tablet
Tasks
The text was updated successfully, but these errors were encountered: