Docker Toolbox on Win10 on AMD64 machine precheck failure
jayachar88 opened this issue · 28 comments
Expected behavior: Docker Quickstart Terminal would successfully start Docker CLI.
Actual behavior: Docker Quickstart Terminal indicates startup failure with error message:
Running pre-create checks...
Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"
Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...
Information
- It is 100% reproducible on my system.
- This happens after an installation of Docker Toolbox (latest). However Docker had been installed before on this system but removed later.
- Windows Version: Windows 10 Enterprise (build: 10.0.16299)
- Docker for Windows Version: 18.09.3
- Processor: AMD A10-8700B R6, 10 Compute Cores 4C+6G 1.80GHz
- Installed RAM: 8.00GB (6.92 GB usable)
- Windows 10 Task Manager > Performance > shows "Virtualization: Enabled"
- Double-checked AMD SVM to be enabled in BIOS
- Tried creating new VirtualBox VM (using Lubuntu image) successfully, as a 64-bit VM. This means that Virtualization is indeed working as expected.
- Also, 'systeminfo' run in Windows Command prompt shows:
Hyper-V Requirements: VM Monitor Mode Extensions: Yes
Virtualization Enabled In Firmware: Yes
Second Level Address Translation: Yes
Data Execution Prevention Available: Yes
Steps to reproduce the behavior
- Lauch 'Docker Quickstart Terminal' and see the error message.
Bump - same issues here.
Sadly, I'm facing the same issue.
I'm running Windows 10 Home, 64 bit, CPU AMD
Hyper-V is not available on windows 10 so it cannot be turned on
Virtualization is enabled, and system sees it as enabled.
System turned off and on multiple times
An update from my side:
It worked for me. Previously I had VBox version 5.2.28, and docker toolbox 18.09.3
I just installed VirtualBox 5.2.8 and and docker toolbox Docker version 18.03.0-ce (at least this is what docker --version is telling me).
It works like a charm, no problem with prechecks.
Same issue.
Microsoft Windows [Version 10.0.17763.253] 64-bit
Installed the latest Docker Tools today. I already have VirtualBox 6 installed and it works without issue.
I tried to run Quickstart and it failed with the above message, even though virtualization is most definitely enabled.
As a side issue Windows 10 Home 64bit I found that even though Hyper-V was disabled in the windows features that it was enabled and therefore blocked Virtualbox from seeing that Virtualisation was indeed turned on. This meant that Virtualbox would only allow 32bit VMs to be created. This was fixed by enabling the Hyper-V feature -> restart Disable Hyper-V feature and restart again. At this point I got back Virtualbox and the ability to create 64bit VMs.
same issue
Running Windows 10 Home, 64 bit, CPU AMD
Downgrading to docker toolbox 18.09.3-ce, as pointed out by @makro2400, has solved the issue for now.
Same issue here
Windows 10 Home, 64 bit, CPU AMD
The enable Hyper-V -> Reboot -> Disable Hyper-V -> Reboot "trick" doesn't work either
@makro2400 suggestion of downgrading to "18.03.0-ce" worked for me. FYI I tried downloading the latest "18.09.3" at the time of my issue. And I am using Windows 10 Home and the AMD Ryzen threadripper 1950x.
Had the same issue with my new AMD Ryzen laptop. I got the following error message:
Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"
Virtualization is enabled in my BIOS. Docker toolbox was working on my AMD Ryzen laptop last year. I can create a virtual machine with Virtualbox outside of Docker Toolbox on this laptop.
I installed an older version of Docker Toolbox (18.06.1-ce) and it is now working.
I believe this to be an issue with the way Docker Toolbox does the pre-flight check for virtualization, rather than a issue with the PC and Virtualbox. I suspect this is specific to AMD processors and maybe specific to their Ryzen line.
Hello, I have just been trying the latest toolbox(v19.03.1) and kept failing for the same "AMD-v" reason and also for v18.09.3. But as soon as I tried the 18.03.0-ce version it worked.
Can anyone explain the major differences in why for Windows 10 Home, the newer Toolbox versions do not work when I thought they were continued for the use where you couldn't use the newer Docker applications?
And also do the Devs think we should try to save up money and get Windows 10 Pro and just get the newer Docker applications?
Same issue here (Ryzen 5 2500U). Latest working version is 18.03.0-ce...
Same behaviour, 18.03.0-ce works. 3900x, Win 10
Try running docker-machine create
with this argument --virtualbox-no-vtx-check
. Example:
docker-machine create -d virtualbox --virtualbox-memory=2048 --virtualbox-no-vtx-check default
Same behaviour on Ryzen 2400G, works with 18.03.0-ce but not with the latest version.
I have an old AMD a6-3430mx so ofc I have same problem and same solution. I think that it's windows's problem 'cause I have familiar problem with android studio.
Same issue, ryzen 2600.
Same issue, Ryzen 9 3950, downgrade to specified version worked.
The same issue, solved by running as suggested by @gudang
docker-machine create -d virtualbox --virtualbox-memory=2048 --virtualbox-no-vtx-check default
Docker Version: 19.03.5
Machine: AMD Ryzen 3550H, Windows 10 Home
Probably relates to #166
Same problem here.
Running the command : docker-machine create -d virtualbox --virtualbox-memory=2048 --virtualbox-no-vtx-check default
will install the docker vm however I am unable to connect to it.. If I run docker ps, I get an error.
When is a fix coming?
Same problem here.
Win 10 home
Ryzen 3900x
Toolbox 18.06.1-ce & 19.03.1
@tessierp try setting the environment variables again
get the variables using command docker-machine env
Not working for latest AMD processor (I am using Docker Toolbox - is using VB 5.2.xx)
- AMD 3900x (enable virtualization bios - verified in task manager and cpuz)
- Windows 10 Pro 1909 (OS Build 18363.720)
I manually installed VB 6.1.4 r136177, create guest OS's were working perfectly fine.
I have in office old Intel i7, docker toolbox was working fine.
Not working for latest AMD processor (I am using Docker Toolbox - is using VB 5.2.xx)
- AMD 3900x (enable virtualization bios - verified in task manager and cpuz)
- Windows 10 Pro 1909 (OS Build 18363.720)
I manually installed VB 6.1.4 r136177, create guest OS's were working perfectly fine.
I have in office old Intel i7, docker toolbox was working fine.
@altyne Any chance you could provide the steps you used to make this work? It is still failing for me.
@tessierp Its not working. What I mean what is working was install VBOX directly and create vm it will create successfully. But thru docker.exe creating vm (internally it using VBOX infrastructure), it fails during pre-checks "This computer doesn't have VT-X/AMD-v enabled....."
So the bug is the pre-checker for docker itself.
Same problem here.
Running the command : docker-machine create -d virtualbox --virtualbox-memory=2048 --virtualbox-no-vtx-check default
will install the docker vm however I am unable to connect to it.. If I run docker ps, I get an error.
When is a fix coming?
First, try removing default vm
by running the command:
docker-machine rm default
After that, running again command: docker-machine create -d virtualbox --virtualbox-memory=2048 --virtualbox-no-vtx-check default
Same issue, ryzen 2400G on DockerToolbox-19.03.1
Same issue, AMD 3950X on DockerToolbox-19.03.1, Windows 10 Enterprise LTSC 1809