News for hackers. Stuff that matters.
Re:Run More Stuff in Docker by josephg on Sunday December 27, 2020 @12:21AM (#25549061)
Yep. My comment was mostly made in the context of running macos desktop apps in docker. Windows would be largely the same, though the existence of WSL might make some things easier.

Linux desktop apps running in docker would work better because there's no VM in between the native environment and the application. You'd still need to forward GUI calls across the LXD container boundary. That used to be easy with X11 forwarding, but AFAIK wayland removed that feature. I don't know enough to guess how difficult that would be to implement.

But, if you solved that it should be mostly smooth sailing. Linux desktop apps distributed via docker would just be the same apps, but unnecessarily bigger, with probably less access to the filesystem. They would be harder to patch for security errata. And they would leave extra junk in your docker images cache. Docker's sandboxing would be nice though.

Re:Run More Stuff in Docker by sz4kerto on Sunday December 27, 2020 @07:41AM (#25550624)
WSL2 mostly solves the problem of manual memory partitioning.