Re:Podman, the open source Docker alternative ported to M1 (...
by yjftsjthsd-h on Monday September 06, 2021 @01:26AM
(#28430604)
So my somewhat shaky understanding is that Apple does have some form of jails in Darwin, because they use it on iOS (hence, "jailbreaking"), but for some reason doesn't ship it in desktop Darwin (aka macOS).
[ Parent
| on HN ]
Re:Podman, the open source Docker alternative ported to M1 (...
by Hackbraten on Monday September 06, 2021 @07:05AM
(#28432515)
Apple’s sandbox focuses on isolating the OS from non-platform binaries. It doesn’t have namespaces or cgroups.
Jailbreaking on iOS is mostly about that sandbox. It doesn’t relate to BSD jails.
On macOS, Apple made the sandbox more lenient and implemented it a bit differently than on iOS. But both have roughly the same goals. They’re also alike in that both use the same kernel-level framework (MACF) to do their job.
But the MACF is completely off-limits to everyone outside Apple. Not even accredited kext developers can use it. So I think that no one except Apple could possibly add container-style isolation to macOS.
Re:Podman, the open source Docker alternative ported to M1 (...
by heavyset_go on Monday September 06, 2021 @01:44AM
(#28430721)
As far as I'm aware, macOS' sandbox isn't like the kernel namespaces and cgroups available on Linux.
Re:Podman, the open source Docker alternative ported to M1 (...
by lostlogin on Monday September 06, 2021 @03:48AM
(#28431433)
> Apple does have some form of jails in Darwin
Thinking about the names Apple might call this tech is amusing, with their use of ‘me’ ‘I’ ‘Apple’ etc. I assume ‘Jail’ wouldn’t be in the name.
Re:Podman, the open source Docker alternative ported to M1 (...
by dotancohen on Monday September 06, 2021 @10:03AM
(#28433726)
iSolation
Re:Podman, the open source Docker alternative ported to M1 (...
by johncolanduoni on Monday September 06, 2021 @02:10AM
(#28430905)
It exists on macOS but doesn’t support the mount namespacing you’d need to create something like a docker container on macOS.