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.

Docker Desktop: Your Desktop over ssh inside of a Docker container

133 pointsby rogahaalmost 12 years ago

9 comments

DannoHungalmost 12 years ago
If you&#x27;re sort of confused as to what advantage there is to this way of doing things over just running a VM in VirtualBox or using Vagrant, you probably aren&#x27;t yet aware of what the Docker project is doing.<p>It&#x27;s creating the VirtualBox of Linux Containers. Docker image files are extremely light weight when compared to VirtualBox images and use Union File systems to allow for complete isolation rather than using VM volumes.<p>An example scenario for when you&#x27;d want something like this is if you want to load an experimental library for a specific application that some part of your system depends on the stability of. Fire up a docker image for just that application with the experimental library replacing the stable library and <i>just</i> the applications inside the docker image will see it. No need to even play around with library versions or links. And since the Docker images are so light weight and incur extremely little performance penalty (I think it is limited to just the cost of using the Union FS over your normal FS), you can do this for dozens of scenarios at once.
评论 #6009722 未加载
评论 #6009203 未加载
beachstartupalmost 12 years ago
&gt; root@host:~# curl <a href="http://get.docker.io" rel="nofollow">http:&#x2F;&#x2F;get.docker.io</a> | sh<p>No no no. Do NOT do this. Kids these days...
评论 #6008240 未加载
评论 #6008440 未加载
评论 #6008259 未加载
评论 #6008347 未加载
评论 #6008880 未加载
评论 #6008287 未加载
评论 #6008441 未加载
评论 #6008930 未加载
评论 #6008302 未加载
评论 #6010404 未加载
sciurusalmost 12 years ago
IMHO here&#x27;s an even cooler hack-<p>Gtk+, the widget toolkit used to develop GNOME and many free software applications, supports rendering applications via HTML5. One of the developers has demonstrated using it to run desktop applications on OpenShift, Red Hat&#x27;s PaaS, that you then access via your web browser.<p><a href="http://blogs.gnome.org/alexl/2013/03/19/broadway-on-openshift/" rel="nofollow">http:&#x2F;&#x2F;blogs.gnome.org&#x2F;alexl&#x2F;2013&#x2F;03&#x2F;19&#x2F;broadway-on-openshif...</a><p><a href="http://blogs.gnome.org/alexl/2013/04/03/more-gtk-in-the-cloud/" rel="nofollow">http:&#x2F;&#x2F;blogs.gnome.org&#x2F;alexl&#x2F;2013&#x2F;04&#x2F;03&#x2F;more-gtk-in-the-clou...</a>
评论 #6010573 未加载
ivan_ahalmost 12 years ago
This could be made VERY interesting if you also add an NX server in the mix. I find basic X11 connections via ssh to be rather laggy and unpleasant to use when the internet connection is not top.<p>The idea behind NX is to &quot;fake&quot; an X client on the server side and fake a NX server on the client side. This reduces the number of roundtrips required for each action. The improved responsiveness is dramatic -- even on a low speed and high-latency link, using the remote desktop feels like a local machine...<p><pre><code> http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;NX_technology </code></pre> Unfortunately, the two open source projects which aimed to reproduce the NX functionality seem to have been abandoned.<p><pre><code> http:&#x2F;&#x2F;freenx.berlios.de&#x2F; http:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;neatx&#x2F;source&#x2F;list </code></pre> Is anyone using NX these days? Perhaps, people stopped developing these because they work well already?
评论 #6008759 未加载
评论 #6008500 未加载
评论 #6008674 未加载
评论 #6008492 未加载
jolalmost 12 years ago
I can see usig this to get perfectly replicable, easy to upgrade&#x2F;rollback and movable works environment - for both local and remote use. I.e., use locally on powerfull machine or rdp to closest powerful machine you can access from slow device. Or have several workspaces similar to virtual desktops for multiple projects...
评论 #6008239 未加载
j_salmost 12 years ago
I got excited when I saw the Windows installation instructions link, but that is just how to setup Vagrant with VirtualBox to host a Linux machine.<p>Is there any open-source equivalent to things like Citrix&#x27;s XenApp, VMWare&#x27;s ThinApp, Microsoft&#x27;s App-V, or independent tools like Sandboxie? <a href="http://alternativeto.net/software/sandboxie/" rel="nofollow">http:&#x2F;&#x2F;alternativeto.net&#x2F;software&#x2F;sandboxie&#x2F;</a>
评论 #6008396 未加载
评论 #6009206 未加载
评论 #6011225 未加载
gcb0almost 12 years ago
So, if I understood that correctly, it&#x27;s just a virtual box image of ubuntu or debian that you run headlessly in a linux container (via docker) and then run a Xserver on your actual machine OS and connect to it via SSH with Xforward?<p>how is this any better than simply running virtualbox on your OS to begin with?
评论 #6008469 未加载
willvarfaralmost 12 years ago
Here&#x27;s a recipe for using vnc to get pixels out of a docker:<p><a href="http://stackoverflow.com/questions/16296753/can-you-run-gui-apps-in-a-docker" rel="nofollow">http:&#x2F;&#x2F;stackoverflow.com&#x2F;questions&#x2F;16296753&#x2F;can-you-run-gui-...</a>
VaucGiapsalmost 12 years ago
Linux != Debian
评论 #6008958 未加载