Re:Containers vs. Zones vs. Jails vs. VMs (2017)
by nurpax on Monday April 06, 2020 @07:24PM
(#22798921)
I’d like to think so too. It’s hard to actually understand how Docker works by reading their documentation.
Everything looks so simple.. and it magically runs on macOS and Windows too. No wonder people think it’s some sort of a VM.
Re:Containers vs. Zones vs. Jails vs. VMs (2017)
by fapjacks on Tuesday April 07, 2020 @12:45AM
(#22800403)
Technically, containers running on MacOS and Windows are a (Linux) VM, under the hood. Now, Microsoft put in a lot of work to support something like namespaces in the Windows kernel, so that it's now possible to run "Windows-native containers" for Windows software. But both Windows and MacOS still use a Linux VM under the hood to run Linux containers. That being said, I'm not familiar with the details of Windows containers because I don't use any Windows software and therefore don't have a reason to run any Windows containers. If you are interested in how containers work at a lower level, you might get more out of the documentation for containerd and runc, which are the underlying container runtimes.
Re:Containers vs. Zones vs. Jails vs. VMs (2017)
by ignoramous on Tuesday April 07, 2020 @02:53AM
(#22800920)
> No wonder people think it’s some sort of a VM.
From what I read, if one packages a Linux container for Windows, Docker does then run it in HyperV?
https://stackoverflow.com/questions/52164563/what-is-the-doc...
I'm not sure this is a fair comparison but that is my impression. I could be in a bubble too.