Live data from Hacker News

I run a full Linux desktop in Docker just because I can

howtogeek.com

41–50 of 124 posts

Re: I run a full Linux desktop in Docker just because I can

#41
post #8

On Windows, doesn't this technically mean OP is running Linux inside a Linux VM inside Windows? From what I understand Docker is Linux tech and to use it anywhere else a (small) Linux VM is required. If true, I would just dispense with the extra layer and just run a Linux VM. Not to discourage experimentation though!

Almost. For one thing, Docker is not really "Linux inside Linux". It uses Linux kernel features to isolate the processes inside a container from those outside. But there is only one Linux kernel which is shared by both the container and its host (within the Linux VM, in this case). For another, running Linux containers in a Linux VM on Windows is one (common) way that Docker can work. But it also supports running Win…

I think GP is likely referring to Docker Desktop, which is probably the most common way to use Docker on Windows.

Running Linux containers using Docker Desktop has a small Linux VM in which the containers are run and then Docker does some mucking about to integrate that better with the Windows host OS.

Re: I run a full Linux desktop in Docker just because I can

#44
post #25

Earlier quoted context omitted.

> Google acts as a meet-me point and also provides the authentication mechanisms including MFA. On one hand, it made me chuckle a bit. On the other hand, it could be reasonable in many scenarios.

I run my server on a connection that's a cgnat and nat by home router. So, no option for me other than chrome remote desktop. It also does p2p.

If you create an outbound tunnel, your options are whatever you want. nat and cgnat only affect inbound routing.

check into tailscale or cloudflare tunnels/argo

Re: I run a full Linux desktop in Docker just because I can

#47
I’ve done it for almost a decade now, to the point of packaging “stacks” inside Docker for specific tasks: https://github.com/rcarmo/azure-toolbox

These days I have a Docker container with Remmina that I use as a bastion (fronted by Cloudflare and Authelia for OIDC), but everything else is LXC with xrdp and hardware acceleration for both application rendering and desktop streaming (xorgxrdp-glamor is much, MUCH better than VNC).

I am, however, struggling to find a good way to stream Wayland desktops over RDP.

Re: I run a full Linux desktop in Docker just because I can

#50

Can you not use the X11 server packaged with WSL as your display driver, and avoid piping this all into the web browser? Seems very inefficient to have to render everything through the browser

WSL doesn't have an X Server, it has a Wayland compositor. That said, yes, you can use that. You can even run a different compositor nested so you get one single window with a desktop if you want.
Post reply on HN