TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Running VSCode in Docker

125 pointsby binalpatelabout 6 years ago

12 comments

marcus_holmesabout 6 years ago
&gt; Last - and most important for me - in industries like my own (healthcare), you work with highly regulated data that has to be stored securely, where having multiple copies of data on multiple laptops can pose an unacceptably large risk.<p>um... please tell me devs don&#x27;t have access to production data in a healthcare environment (of all places!).<p>I mean, I understand the need for a representative dataset to develop and test against, but this is people&#x27;s lives they&#x27;re playing with!<p>And, you know, if you had a decent set of anonymised or fictitious customer data to work with, you wouldn&#x27;t need to run your IDE in docker, and there would be less surface area for attackers to get to the data.
评论 #19583565 未加载
评论 #19581210 未加载
评论 #19581311 未加载
评论 #19582217 未加载
评论 #19582387 未加载
评论 #19584886 未加载
评论 #19586172 未加载
评论 #19583776 未加载
评论 #19584809 未加载
laughingman2about 6 years ago
People who want to work on remote access with restricted setups, checkout Emacs. Tramp mode allows you to edit files over ssh, docker, adb etc without you worrying about anything.<p>And if you haven&#x27;t tried about Org Mode, it is not exaggeration if I say it is life changing. It can help you organize notes, todos, agendas etc.
评论 #19582849 未加载
banana_giraffeabout 6 years ago
I was just playing with Coder&#x27;s VS Code fork (what this solution uses for VS Code) the other day [1]<p>I want to love it. It makes a very specific use case I use much nicer. I can leave code on a remote server with all the compute power I need to build and run my project, and edit the file I&#x27;m working on with VS code&#x27;s editor without having to sync files around. It does, however, have a few big caveats that killed it for me.<p>It doesn&#x27;t block any of the browser things that would leave the webpage. Notably, if you hit Ctrl-W to close a file tab because of muscle memory, you&#x27;ll close the browser tab. Also, if you hit back on accident like I apparently do all the time, you&#x27;ll go back to the blank tab page. In both of these cases, you&#x27;ll lose any unsaved state.<p>Also, the extension repo it&#x27;s pointing at isn&#x27;t MS&#x27;s live repo. There are apparently reasons for this, but it means you don&#x27;t get the latest version of extensions, which was annoying for a specific extension I&#x27;ve gotten used to.<p>I also had issues with VS Code getting confused about state when my connection to the remote box was less than ideal.<p>All in all, I really wanted to like it, but for truly remote cases, I&#x27;m back to using Mosh to interact with the remote box, and a simple tool I wrote ages ago to handle rsyncing the local files to the remote box to build and run them there.<p>[1] <a href="https:&#x2F;&#x2F;coder.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;coder.com&#x2F;</a>
评论 #19585521 未加载
评论 #19585854 未加载
batmansmkabout 6 years ago
Interesting case for cloud based IDEs.<p>I really don&#x27;t understand the localhost use case though. I&#x27;m on MacOS. Why would I spawn a VM (docker for macos) with limited access to my system (container promise) to run an editor already running in a VM?<p>I only end up having a resources and disk space hungry, slow and inconvenient editor?
alias_neoabout 6 years ago
The title of the article is ever so slightly misleading.<p>It would lead one to believe that VSCode and thus by extension VSCodium could be run in Docker and accessed from a web browser<p>In fact, you can run &quot;Coder&quot; (<a href="https:&#x2F;&#x2F;coder.com&#x2F;);" rel="nofollow">https:&#x2F;&#x2F;coder.com&#x2F;);</a> a product, which according to their GitHub had some non-trivial effort put into it to make it run as such.<p>Not least of all, looking through their issue list, is the fact they compile extensions themselves and they are therefore somewhat outdated (according to issue comments from their users).<p>It&#x27;s nice, but it&#x27;s not VSCode per-se and sadly means no dice for Codium users.
cheesedoodleabout 6 years ago
I&#x27;d love to use the VSCode IDE launched from the host and compile C++ code within docker. Is this possible? Currently, I write code in the IDE and compile in the container from the terminal. Imagine that, cross compile from any host in a contained c++ environment. :)<p>Edit: I use CMAKE_TOOLCHAIN_FILE to describe the target env.
评论 #19585864 未加载
paulcarrotyabout 6 years ago
Flatpak is much more interested than docker for GUI apps, especially for his sandbox features.
znpyabout 6 years ago
Didn&#x27;t anyone know it is possible to run a full blown Eclipse in the browser?<p><a href="https:&#x2F;&#x2F;www.eclipse.org&#x2F;che&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.eclipse.org&#x2F;che&#x2F;</a>
quaffapintabout 6 years ago
Whats the &#x27;best&#x27; way people are using to have a total portable development environment that I can reach from home or work? Meaning having vs code, node, all the various cloud local emulators&#x2F;etc that you would normally install for doing that kind of dev work.
评论 #19582343 未加载
评论 #19583624 未加载
jluabout 6 years ago
Does the keyboard shortcuts for vscode still work inside browser?
评论 #19583857 未加载
评论 #19583995 未加载
herohampabout 6 years ago
This seems very promising. With C9 being moved to AWS soon, I might look into building an internal version of it powered by launching VSCode instances.
black-teaabout 6 years ago
Why on earth would you do this? Docker is such a misunderstood technology.
评论 #19580329 未加载
评论 #19580456 未加载
评论 #19580315 未加载
评论 #19580807 未加载
评论 #19580300 未加载