dchristl / macless-haystack

Create your own AirTag with OpenHaystack, but without the need to own an Apple device
GNU General Public License v3.0
408 stars 66 forks source link

Problem setting up dockerized MacOS in Win10 + WSL2 #27

Closed careyer closed 10 months ago

careyer commented 1 year ago

Hi there,

i managed to install a dockerized MacOS running Windows 10 + Docker-Desktop + WSL2. However I struggle with this step of the HowTo (https://github.com/dchristl/headless-haystack/blob/main/OSX-KVM/README.md)

sudo su
cd /var/lib/docker/containers/89f71e516b9f_________

There simply ain't no folder /var/lib/docker/containers ... Somehow Docker-Desktop in conjunction with WSL2 stores the containers somewhere else but I cannot find the location for the heck of it. Any advice?

Thanks in advance!

careyer commented 1 year ago

Seems like at least Win11 is needed to get OSX-KVM to run properly. Win10 does not support nested virtualization. This information should be added to the HowTo.

dchristl commented 1 year ago

Hello @careyer,

thanks for pointing this out, but I'm not sure this is correct. I can't try it out myself, because I have no native Windows host. But I think nested virtualization is also supported on Win10, but not on any CPU. Also it should work without virtualization, too. It will be incredible slow, but after setting up the machine (Login with AppleID) and running headless this shouldn't be an issue anymore.

Kind regards, Danny

biemster commented 1 year ago

@dchristl Some really interesting stuff is happening on this front in https://github.com/seemoo-lab/openhaystack/issues/63#issuecomment-1769216337, we might soon be able to get rid of running macOS in a VM entirely!

dchristl commented 1 year ago

@biemster thank you, I've seen it already and it sounds amazing. Unfortunately I don't have so much free time currently, but I will have a deeper look as soon as I can. Hope this will be running on an raspberry pi. That would be great.

dchristl commented 10 months ago

This issue is not valid anymore with the latest release.