gvisor icon indicating copy to clipboard operation
gvisor copied to clipboard

MacOS support

Open ianlewis opened this issue 5 years ago • 4 comments

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.

ianlewis avatar Nov 26 '19 06:11 ianlewis

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

sbrki avatar Apr 02 '20 11:04 sbrki

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

ianlewis avatar Apr 02 '20 23:04 ianlewis

Hey @ianlewis did this ever get any traction?

mauriciogg avatar May 12 '22 18:05 mauriciogg

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

ianlewis avatar May 12 '22 22:05 ianlewis