Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Docker works great on macOS. It builds images, runs containers, and you don't even need the Official Desktop App - brew install docker.


It's not a real container, it's a Linux virtual machine.


I 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.


Support cgroups and namespaces in your kernel and let CRI-O do the rest?


I'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.


No you got it right. I'm actually asking for things like nginx:osx when developing in local.


Got it. Thanks.


It's a Linux virtual machine running real containers though.


So? That's not real support. This is akin to saying MS Office is supported on Linux because you can run it inside a VM.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: