News for hackers. Stuff that matters.
Re:macOS Containers v0.0.1 by lloeki on Tuesday September 26, 2023 @05:50AM (#37656861)
The alternative is to use a performant file sharing system through the VM isolation. Some people use NFS, I personally use VMware Fusion + vmhgfs.

Sure it does not attempt to map fsevents<->inotify 1:1 but honestly I can live with that limitation given that it's a 10x performance increase compared to the DfM kitchensink.

I do go native darwin when I can / it makes sense.

Re:macOS Containers v0.0.1 by throwaway894345 on Wednesday September 27, 2023 @04:26AM (#37671740)
Is that something you can configure in DfM or are you saying you sort of roll your own DfM alternative? Also, what does "VM isolation" mean here? How is NFS or VMware Fusion more "isolated" than DfM?
Re:macOS Containers v0.0.1 by lloeki on Wednesday September 27, 2023 @04:54AM (#37671968)
> Is that something you can configure in DfM

No

> or are you saying you sort of roll your own DfM alternative?

Yes, I set up a NixOS VM and use DOCKER_HOST=ssh://docker@<ip>

If you want to have it easy you can roll with lima/colima (but I found the fs sharing slower than vmhgfs)

> Also, what does "VM isolation" mean here?

The host/guest boundary. The guest is just like any another, remote machine. DsM adds smoke and mirrors to make it look like guest and host are one.

> How is NFS or VMware Fusion more "isolated" than DfM?

It's not, both are VMs and need a way to expose the host fs to the guest, NFS or vmhgfs are a means to that.

Re:macOS Containers v0.0.1 by throwaway894345 on Wednesday September 27, 2023 @03:50PM (#37680274)
Understood. Thanks for the explanation/clarification!