3 ms·
What's MacOS's version of LXC? Windows Server Containers look like a plausible foundation, but really new.
by jfoutz 10y ago
What's MacOS's version of LXC? Windows Server Containers look like a plausible foundation, but really new.
- pjmlp 10y agoMac OS X has an hypervisor framework, which is also used by Docker https://github.com/docker/hyperkit https://github.com/docker/hyperkit https://developer.apple.com/reference/hypervisor https://developer.apple.com/reference/hypervisor Also there is App Sandbox for writing safer applications, but it requires programming explicitly against it. https://developer.apple.com/library/content/documentation/Security/Conceptual/AppSandboxDesignGuide/AboutAppSandbox/AboutAppSandbox.html#//apple_ref/doc/uid/TP40011183-CH1-SW1 https://developer.apple.com/library/content/documentation/Se...
- jfoutz 10y agoBut a hypervisor is a full VM. LXC, and Windows containers provide that funky process level virtualization. I guess the point i'm trying to make, there will be no "native" docker for MacOS. You'll always (or for the foreseeable future) have to start a linux VM (mabye windows?!?) to host the processes.
- pjmlp 10y agoWindows containers are based on Hyper-V. As for Mac OS, I use it for Cocoa and iOS development, so no experience with containers as such.