Re:Launch Your App: Why We Don’t Use Docker (We Don’t Need It)
by threeseed on Sunday April 25, 2021 @06:23PM
(#26937293)
I don't care if it runs in a VM or not. That's just an implementation detail.
What matters is whether my app and the myriad of dependencies it relies on can be run easily and consistently.
Re:Launch Your App: Why We Don’t Use Docker (We Don’t Need It)
by nine_k on Sunday April 25, 2021 @06:19PM
(#26937265)
Docker for Windows is a thing, and it does run Windows binaries natively.
So you can publish for two platforms.
Java is still a good way to have bulletproof cross-platform experience, but JRE is sort of large. JDK 10 or 11, IIRC, allows to package your code, only the needed parts of stdlib, and the VM into a reasonably lean self-contained executable.
Re:Launch Your App: Why We Don’t Use Docker (We Don’t Need It)
by nicoburns on Sunday April 25, 2021 @06:23PM
(#26937290)
Rust/Go are much better at than Java. You do need a separate binary for each platform which makes it slightly more of a pain for the maintainer to setup CI, but it's much more convenient for the end user.
That's the greatest lie that Docker managed to convince people of.
Docker is not portable, its images are not portable. It runs on Linux and that's it. It doesn't even run on other *NIXen.
Docker on Mac runs inside a VM. Docker on Windows runs inside a VM. Technically Docker for Windows supports Windows containers. But they only run on... Windows.
Docker is as portable as any software I can get my hands on and that I can run inside a VM. So almost all the desktop software I know of.
Docker just managed to package its software in a nicer way so that many people don't even realize that there's a VM behind the scenes (most usually notice because Docker is slower/much slower on non-Linux platforms).