News for hackers. Stuff that matters.
Re:macOS Containers v0.0.1 by WesolyKubeczek on Tuesday September 26, 2023 @12:16PM (#37661531)
> reasonably fast.

But still not "as fast as it gets". And I want it to be as fast as it gets.

Re:macOS Containers v0.0.1 by duped on Tuesday September 26, 2023 @12:23PM (#37661635)
Neither is using macfuse as a stand in for overlayfs and bind mounts.

My point is "as fast as it gets" is using MacOS how MacOS is designed: ie, through sandboxing and not containerization that pretends the MacOS userspace is Linux. It's not Linux.

There is a fundamental trade off between isolation and performance. You cannot securely share resources without overhead.

Re:macOS Containers v0.0.1 by slonopotamus on Tuesday September 26, 2023 @02:04PM (#37663368)
FUSE is only used for bind mounts. If you write to a directory that belongs to container, you get the raw speed of host OS.
Re:macOS Containers v0.0.1 by duped on Tuesday September 26, 2023 @08:20PM (#37667893)
How do you support layers without overlayfs?
Re:macOS Containers v0.0.1 by slonopotamus on Wednesday September 27, 2023 @03:44AM (#37671418)
It's not me, it's containerd "native" snapshotter. It turns to be efficient on macOS thanks to `clonefile` syscall.