5
Long story short:
Replace string create -d virtualbox
with create -d virtualbox --virtualbox-no-vtx-check
in
C:\Program Files\Docker Toolbox\start.sh
Context TLDR
Home Edition does not support Hyper-V I was able to use VirtualBox at Home but not docker inside virtualbox with the same message,
yet, even when I upgraded to Windows Pro, I had the very same issue as you in spite of having UEFI (Bios) SVM = AMD-x version of VTX, I had disabled Hyper-V as it is possible only at Windows Pro version, but what seems to help me is running docker toolbox manually via command like this with a parameter --virtualbox-no-vtx-check
docker-machine create -d virtualbox --virtualbox-no-vtx-check
which apparently suppresses that check
"This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"
5
I had the same problem. SVM ect. was enabled in my BIOS but the error was still shown. The answer by FantomX1 helped me to get going. Try this:
Open C:\Program Files\Docker Toolbox\start.sh with an Editor
Replace line 69 from
"${DOCKER_MACHINE}" create -d virtualbox $PROXY_ENV "${VM}"
to
"${DOCKER_MACHINE}" create -d virtualbox --virtualbox-no-vtx-check $PROXY_ENV "${VM}"
1It's line 69 in Docker Toolbox 19.03.1 (Jul 31, 2019). – Karsten Silz – 2020-01-13T09:38:25.903
thanks Karsten. I replaced the line number in my answer. – SergejoWizz – 2020-01-15T19:59:47.803
yep, thanks, I realize I somehow forgot to add it as I planned in a hurry :) – FantomX1 – 2020-02-07T17:48:13.677
1
But when running the Docker Quickstart Terminal, it always shows "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"!
You can try the following solution.
Within an elevated PowerShell environment run the following command:
1) PS > bcdedit /set hypervisorlaunchtype off
2) You should verify Core Isolation is disabled.
Source: This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory
Additionally, you should disable any hardware virtualization features, of any security products you might have installed.
Hyper-V is already enabled!
You absolutely DO NOT have Hyper-V installed on a Windows 10 Home installation.
In your second screenshot you are showing the Windows feature called Windows Hypervisor Platform. This is not the same as Hyper-V. Scroll up and you'll see a checkbox for Hyper-V. – n8te – 2019-05-31T06:55:49.097
You might have to disable Core Isolation in Windows Defender as well as it may "steal" VT-x/AMD-v: https://superuser.com/a/1366359/19943
– Mokubai – 2019-05-31T06:59:14.980Please indicate which version you have installed, use
winver
, to determine that information. Your question cannot be answered without this information – Ramhound – 2019-05-31T11:55:57.090I have Windows 10 Home 64bit Version 1809 – reiniellematt – 2019-05-31T23:27:42.343
Since you have Windows 10 Home Hyper-V cannot be enabled. You should edit your question to reflect that fact. It currently indicates you have enabled it. Is Docker Quickstart Termina part of Docker Toolbox or Docker for Windows? Edit your question instead of submitting a comment – Ramhound – 2019-05-31T23:45:56.140