docker-archive / toolbox

The Docker Toolbox
https://docker.com/toolbox
3.21k stars 1.23k forks source link

"This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory". #876

Open MMarif opened 4 years ago

MMarif commented 4 years ago

"This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory". All my virtualization is working and I am able to launch VMware and Virtual Box as well, however, Docker refuses to launch and keeps giving this error. I am unable to find the option for AMD-v in my BIOS, but I checked msinfo.exe Hyper-V - VM Monitor Mode Extensions Yes Hyper-V - Second Level Address Translation Extensions Yes Hyper-V - Virtualization Enabled in Firmware Yes Hyper-V - Data Execution Protection Yes its all fine, but docker is unable to detect Hyper-v

Please help

d-sphinx commented 4 years ago

Very similar to https://github.com/docker/toolbox/issues/873

Have you tried DockerToolbox-18.09.0.exe ? All newer versions didn't work for me.

BretFisher commented 4 years ago

@MMarif Docker Toolbox doesn't use Hyper-V, and in fact having Hyper-V installed will prevent it from using VirtualBox properly.

If you're wanting to use docker-machine with Hyper-V, then this issue is something for the docker/machine issues and not toolbox related (which technically only uses VirtualBox without advanced customization).

If you just want to use local docker can you describe your setup more? What Windows Edition? What Docker Toolbox version did you install?

Marcono1234 commented 4 years ago

Possibly related to #830

Installed using

Destination location:
      C:\Program Files\Docker Toolbox

Setup type:
      Custom installation

Selected components:
      Docker Client for Windows
      Docker Machine for Windows

Additional tasks:
      Create a desktop shortcut
      Add docker binaries to PATH
      Upgrade Boot2Docker VM

Already have Git and VirtualBox installed and runs machines fine without issues. Using Windows 10 Home which does not support Hyper-V without running scripts (see also this forum post). As @d-sphinx wrote 18.09.0 works fine and starting with 18.09.1 it fails. Note that apparently the only changes between these versions are upgraded components: https://github.com/docker/toolbox/compare/v18.09.0...v18.09.1

hcardozo commented 4 years ago

Very similar to #873

Have you tried DockerToolbox-18.09.0.exe ? All newer versions didn't work for me.

I haved the same problem and this solution worked for me, thanks you !

AntonGrekov commented 4 years ago

I can confirm that 18.09 worked for me, while all of the above versions resulted in 'amd-v/intel-v not enabled' error, while i do have this option enabled in bios and run linux/windows guests in virtualbox/vmware many times.

ronak-a commented 4 years ago

Very similar to #873

Have you tried DockerToolbox-18.09.0.exe ? All newer versions didn't work for me.

This works for me as well, thanks, later versions stuck with same error even if virtual box default enable in bios.

SevlaMare commented 3 years ago

The same issue here, with v18+ could progress but not finish, just disable hyper-v by control panel isn't enough.

What I did to solve is, on command prompt with admin rights: bcdedit, check if hyper is set to auto, that was the case, so: bcdedit /set hypervisorlaunchtype off,

Source: https://stackoverflow.com/questions/50053255/virtualbox-raw-mode-is-unavailable-courtesy-of-hyper-v-windows-10

swil-global commented 3 years ago

The same issue here, with v18+ could progress but not finish, just disable hyper-v by control panel isn't enough.

What I did to solve is, on command prompt with admin rights: bcdedit, check if hyper is set to auto, that was the case, so: bcdedit /set hypervisorlaunchtype off,

Source: https://stackoverflow.com/questions/50053255/virtualbox-raw-mode-is-unavailable-courtesy-of-hyper-v-windows-10

This did not work for me. I will try installing an older version of docker.