Docker requires a processor with virtualization capabilities

Expected behavior

Docker startup

Actual behavior

Docker requires a processor with virtualization capabilities. - exit

Information

Model Name: Mac Pro
Model Identifier: MacPro5,1
Processor Name: Quad-Core Intel Xeon
Processor Speed: 2.8 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 7 GB
Processor Interconnect Speed: 4.8 GT/s
Boot ROM Version: MP51.007F.B03
SMC Version (system): 1.39f11
SMC Version (processor tray): 1.39f11
Serial Number (system): YM042029EUE
Serial Number (processor tray): J5040019CCZJB
Hardware UUID: 4E952F54-6E1D-5C8A-8B54-F482154B7F9B

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 POPCNT

(shows VMX)

Not sure why this doesn’t run - it has virtualization capabilities.

Thanks for any suggestions!

1 Like

Same here. I have the following setup and getting also this behavior :-/

Model Name: iMac
Model Identifier: iMac11,3
Processor Name: Intel Core i7
Processor Speed: 2,93 GHz
Number of Processors: 1
Total Number of Cores: 4
L2 Cache (per Core): 256 KB
L3 Cache: 8 MB
Memory: 12 GB
Processor Interconnect Speed: 4,8 GT/s
Boot ROM Version: IM112.0057.B03
SMC Version (system): 1.59f2

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 POPCNT
machdep.cpu.brand_string: Intel® Core™ i7 CPU 870 @ 2.93GHz

On the Intel site, hardware virtualization is also documented as supported. See here: http://ark.intel.com/products/41315/Intel-Core-i7-870-Processor-8M-Cache-2_93-GHz

I have another mac that shows the VMX flag, but doesn’t support virtualization according to the Intel Website, so I am not 100%sure, what is actually correct and what to look for… (see this one: http://ark.intel.com/products/36750/Intel-Core2-Duo-Processor-P7350-3M-Cache-2_00-GHz-1066-MHz-FSB and the following cpu features: PU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE).

I have the same problem with my Mac Pro 4,1.

I’ve done a bit of researching this morning and the Xeon chips in my computer support VMX and should work. I have read some information that indicates the virtualization capabilities can be turned off in the boot firmware.

I sent feedback on the Beta release requesting support for Mac Pro 4,1 computers - I do not know how difficult it would be to implement this.

1 Like

I posted this on another forum post about the macbook…
but my Early 2009, 2x2.26Ghz Quad-Core Xeon is having the same issues:

➜ ~ sysctl -a | grep machdep.cpu.features
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 POPCNT

Model Name: Mac Pro
Model Identifier: MacPro5,1
Processor Name: Quad-Core Intel Xeon
Processor Speed: 2.26 GHz
Number of Processors: 2
Total Number of Cores: 8
L2 Cache (per Core): 256 KB
L3 Cache (per Processor): 8 MB
Memory: 128 GB
Processor Interconnect Speed: 5.86 GT/s
Boot ROM Version: MP51.007F.B03
SMC Version (system): 1.39f5
SMC Version (processor tray): 1.39f5

Same here

Model Name: MacBook Pro
Model Identifier: MacBookPro7,1
Processor Name: Intel Core 2 Duo
Processor Speed: 2,66 GHz
Number of Processors: 1
Total Number of Cores: 2
L2 Cache: 3 MB
Memory: 16 GB
Bus Speed: 1,07 GHz
Boot ROM Version: MBP71.0039.B0E
SMC Version (system): 1.62f7

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 XSAVE

It would be great if someone from the docker team could at least answer with respect if this is a bug or just a mis-configuration/ interpretation of the capabilities of the mac. What is actually checked by the installer? Thanks in advance!

You can check this way:

On OS X, the way of knowing if your CPU complies with all the Hypervisor.framework requirements is by checking the value of the sysctl kern.hv_support key.

$ sysctl kern.hv_support
kern.hv_support: 1
If it is 1, then your CPU is supported.
If it is 0, it means the Hypervisor.framework cannot be used with your CPU, for a reason or another

(from another post)

Thanks for the reply, I checked and at least the results are reproducible. Now I just have to figure out if it is a configuration or a hardware thing… Pointers are appreciated or I just got myself an excuse to get a new iMac :slight_smile:

I’ve read it’s a hardware thing - In 2010 Intel started producing the CPU that could manage the hypervisor-environment fully, so some later 2010 macs came with it and everyone after that, but none previous :frowning:

I’ve made a post on Apple Communities to better understand the issue :

https://discussions.apple.com/thread/7663673

FYI : I have an iMac (27-inch, Mid 2010)

When I do :

sysctl kern.hv_support

it return :

kern.hv_support: 0

I don’t understand why, because my CPU is an Intel Core i7 870 with VT-x EPT support :

sysctl -a | grep machdep.cpu.brand_string

Give me :

machdep.cpu.brand_string: Intel(R) Core(TM) i7 CPU 870 @ 2.93GHz

CPU Specs : Intel Core i7870 Processor 8M Cache 2.93 GHz Product Specifications

And when I do :

sysctl -a | grep machdep.cpu.features

I have :

machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 CX16 TPR PDCM SSE4.1 SSE4.2 POPCNT

VMX support is here… Apple seems to be very quiet about this, not good…

The Processor must offer VT-x virtualization (and possibly further virualization technologies). This may not be available with older processors. IMHO Xeons do lack this feature, while Core i7 processors should definitely have it.

But even when the processor supports VT-x, it may be blocked by firmware.

Apple has an article “If VT-x virtualization technology is locked or disabled on your Mac” at https://support.apple.com/en-us/HT203296 that lists EFI updates to fix this problem.

See also Fatal Error Incompatible CPU detected