4 ms·
It's not a real container, it's a Linux virtual machine.
by harpratap 6y ago
It's not a real container, it's a Linux virtual machine.
- garethrowlands 6y agoIt's a Linux virtual machine running real containers though.
- harpratap 6y agoSo? That's not real support. This is akin to saying MS Office is supported on Linux because you can run it inside a VM.
- adolfojp 6y agoI don't see an alternative though. If your deployment target is Linux and your development machine is not then you need a Linux VM of some sort to host your Linux containers. How would you implement "real" containers without a VM in that scenario.
- harpratap 6y agoSupport cgroups and namespaces in your kernel and let CRI-O do the rest?
- adolfojp 6y agoI'm a bit out of my element so I apologize if I'm missing something. Microsoft implemented cgroups and namespace analogues in Windows Server 2016 to allow it to run "real" Docker containers without the need for virtual machines. The limitation is that the real Windows containers can only run Windows based applications because the underlying architecture is still Windows. Something similar would happen with macOS. The underlying architecture of macOS would remain macOS regardless of whether it could run real containers or not.