-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installing Docker Desktop for Mac in a UTM created MacOS VM Fails to Start with "Hypervisor check failed" #7287
Comments
I can confirm this. Clean install of v4.30.0 on my Macbook Pro M1 Max , macOS Sonoma 14.5, fails with "Hypervisor check failed". Clean install of v4.29.0 works, but upgrading from there to v4.30.0 fails. UI exits for restart but never comes up. After manual restart of Docker Desktop v4.30.0 still shows as available for install. The logs says that the virtualisation PID 77479 dies and brings down Docker Desktop PID 77497.
|
@jedvardsson would you mind share your installation steps? I get the same "hypervisor check failed" using 4.28 and 4.29. |
@dnoliver The Apple Virtualization and Hypervisor frameworks won't work within a virtual machine (VM). Furthermore, they are designed to work on macOS running on real hardware. BTW, I used the sample code from WWDC 2023 to test running Docker Desktop for Mac in a macOS VM. If you're interested, you can find the talk and code here: https://developer.apple.com/videos/play/wwdc2023/10007 |
Got it @conradwt, thanks. Then, running Docker (Desktop, Engine) is not supported in virtualized MacOS, until MacOS supports nested virtualization in Apple hardware? |
@dnoliver Yes, here's a good Windows' reference that's applicable to running Docker Desktop for Mac on macOS VMs. |
Got it, thanks. Closing! |
Description
Hi!
I am trying to use Docker Desktop for Mac on a MacOS VM created with UTM, on a Mac mini 2023 - M2 - MacOS Ventura 13.5
After downloading the dmg from the official url and installing it, trying to start Docker Desktop results in:
The intention is to run Docker on the virtualized MacOS, is this something supported by Docker?
Reproduce
Expected behavior
I was expecting it to start, or I would expect that if it can't be run in a virtual machine with Mac, a more user friendly error will be shown that says "this app can't be run on a vm"
docker version
docker info
Diagnostics ID
9F03BF1C-FAB5-49D5-9E89-18CE73FCFD6C/20240520025738
Additional Info
If using this on a VM is not supported, are there any alternatives? like using it from the CLI only?
The text was updated successfully, but these errors were encountered: