docker-archive / toolbox

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

Docker Toolbox 19.03.1 setup fails to create virtual machine 'default' #873

Open d-sphinx opened 4 years ago

d-sphinx commented 4 years ago

Latest DockerToolbox-19.03.1 package setup yields an error after launching Docker Quickstart Terminal. It says that AMD-V/VT-x is not enabled, but in fact it IS enabled.

It seems that actual problem is in being unable to create VM 'default' (as previous toolboxes did). I repeat that Hardware virtualization is enabled in BIOS (and successfully worked before uninstalling v18 toolbox).

Environment: Windows 7 x64, 8 GB RAM

""

peteryu1975 commented 4 years ago

Same problem

My environment is hp 745 G6 notebook. OS:WIN 10 RAM:32G

d-sphinx commented 4 years ago

Hi, I just did some research and the problem with VM creation exists in following releases:

DockerToolbox-19.03.1.exe DockerToolbox-18.09.3.exe DockerToolbox-18.09.2.exe DockerToolbox-18.09.1.exe

The latest version WITHOUT this bug is DockerToolbox-18.09.0.exe so I assume that the bug was introduced in DockerToolbox-18.09.1.exe and it still remains in current release.

d-sphinx commented 4 years ago

Also no matter what VirtualBox version you use: it is the same behavior with both latest 6.0.16 and included 5.2.20

BretFisher commented 4 years ago

It works for me on Windows 10 with latest release, so maybe this is a bug specific to certain CPU's or Chipset detection or maybe a mix of docker-machine and VirtualBox issues?

If you run docker-machine create <something> what is the exact error?

Can you install a Linux ISO into a VirtualBox VM Manually and boot it? (That'll ensure we know VTX is enabled and working, and VirtualBox works to boot a VM)

Are you changing the VirtualBox version each time, or is it always the latest 6.1.2? I would uncheck the VirtualBox during Toolbox install and always run the lastest VirtualBox to rule that out as a related issue.

rashid-test commented 4 years ago

@BretFisher The primary goal for Docker Toolbox releases should be Windows 7, not 10. So anyway, working in 10 and "not working" in 7 with hardware virtualization enabled is the problem. Also 18.09.0 worked fine on the same setup.