Docker Toolbox: Doesn't have VT-X/AMD-v even if it is enabled

16,514

Solution 1

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:

  1. Open C:\Program Files\Docker Toolbox\start.sh with an Editor

  2. 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}"

  1. Open Docker Quickstart Terminal.
  2. Done :)

Solution 2

@SergejoWizz's answer contains the full location where to change the Docker toolbox start.sh file, however editing the file might not be desired every time, as one might reinstall Docker toolbox or install it on other computers, so you might want to create a temporal file shortcut with the provided --virtualbox-no-vtx-check parameter below.

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

Solution 3

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.

Share:
16,514

Related videos on Youtube

reiniellematt
Author by

reiniellematt

Updated on September 18, 2022

Comments

  • reiniellematt
    reiniellematt over 1 year

    Tried running Docker Toolbox on my Windows 10 Home 64-bit machine.

    Virtualization is Enabled

    also, Hyper-V is already enabled!

    Hyper-V is enabled!

    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"!

  • Karsten Silz
    Karsten Silz over 4 years
    It's line 69 in Docker Toolbox 19.03.1 (Jul 31, 2019).
  • SergejoWizz
    SergejoWizz over 4 years
    thanks Karsten. I replaced the line number in my answer.
  • FantomX1
    FantomX1 almost 4 years
    sometimes though running docker repeatedly, or if previously run with administrative mode might change toolbox IP address eg from 192.168.99.100 to 192.168.99.101 stackoverflow.com/questions/40052629/…