3 ms·
Because Docker is basically a user interface for Linux's built-in API that is unique to Linux. All the heavy lifting of process isolation is done by Linux itsel
by pornel 6y ago
Because Docker is basically a user interface for Linux's built-in API that is unique to Linux. All the heavy lifting of process isolation is done by Linux itself, not Docker.
Adding the same interface to other operating systems would require extensive changes to their kernel. In the closed-source macOS that is not feasible. Apple doesn't give that level of access to anyone.
- diehunde 6y agoThank you. I thought it might be something like that.
- herpderperator 6y agoThe Apple kernel is open source [0] though, obviously, people won't be able to install a custom kernel even if patches did exist for it. [0] https://github.com/apple/darwin-xnu https://github.com/apple/darwin-xnu
- jamespetercook 6y agoIs this not true for Windows too though?