Open ianlewis opened 5 years ago
@ianlewis are you sure this would work? Linux syscalls could be translated into native Darwin syscalls by gvisor, but I think the host kernel (in this case Darwin) needs to have cgroups in order for this to work in the first place.
@psycadet Yeah, cgroups specifically may not be able to be supported natively. It may be that a virtualized shim (e.g. HyperKit) is needed like Docker for Mac or there may be other ways to make it work natively on a Mac. There will be a lot of challenges to be sure, but it would be an interesting feature if someone wanted to try and support it.
Hey @ianlewis did this ever get any traction?
@mauriciogg @kevinGC has been looking at it and has done the work to get us closer to full Mac support so he's the one to ask.
Interested in this again, if it's still being worked on!
It's not currently, unfortunately. No reason it can't be done, it's just that nobody has had the time to do it.
gVisor running on MacOS could provide an environment for Mac users to develop and run Linux containers on a Mac machine without needing to install Linux via a VM or Docker for Mac etc.
Some investigation needs to happen in order scope out what would be needed.