Skip to content
This repository has been archived by the owner on Sep 26, 2021. It is now read-only.

Docker Toolbox on Win10 on AMD64 machine precheck failure #830

Open
jayachar88 opened this issue Apr 10, 2019 · 29 comments
Open

Docker Toolbox on Win10 on AMD64 machine precheck failure #830

jayachar88 opened this issue Apr 10, 2019 · 29 comments

Comments

@jayachar88
Copy link

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

  1. Lauch 'Docker Quickstart Terminal' and see the error message.
@JacksonKatzman
Copy link

Bump - same issues here.

@makro2400
Copy link

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

@makro2400
Copy link

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.

@yuppox
Copy link

yuppox commented May 1, 2019

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.

@notlistening
Copy link

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.

@ssatguru
Copy link

ssatguru commented Jul 6, 2019

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.

@Wolferey
Copy link

Same issue here
Windows 10 Home, 64 bit, CPU AMD
The enable Hyper-V -> Reboot -> Disable Hyper-V -> Reboot "trick" doesn't work either

@GabeGates
Copy link

GabeGates commented Jul 28, 2019

@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.

@Mikejonesab12
Copy link

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.

@KelvinL95
Copy link

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?

@slagiewski
Copy link

Same issue here (Ryzen 5 2500U). Latest working version is 18.03.0-ce...

@kinsi55
Copy link

kinsi55 commented Oct 20, 2019

Same behaviour, 18.03.0-ce works. 3900x, Win 10

@gudang
Copy link

gudang commented Oct 20, 2019

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

@aruldd
Copy link

aruldd commented Nov 2, 2019

Same behaviour on Ryzen 2400G, works with 18.03.0-ce but not with the latest version.

@UserHyuser
Copy link

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.

@kumagogogo
Copy link

Same issue, ryzen 2600.

@bendauphinee
Copy link

Same issue, Ryzen 9 3950, downgrade to specified version worked.

@prasad1247
Copy link

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

@Marcono1234
Copy link

Probably relates to #166

@tessierp
Copy link

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?

@corlo
Copy link

corlo commented Mar 1, 2020

Same problem here.

Win 10 home
Ryzen 3900x
Toolbox 18.06.1-ce & 19.03.1

@prasad1247
Copy link

@tessierp try setting the environment variables again
get the variables using command docker-machine env

@altyne
Copy link

altyne commented Mar 28, 2020

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.

@tessierp
Copy link

tessierp commented Apr 1, 2020

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.

@altyne
Copy link

altyne commented Apr 9, 2020

@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.

@gudang
Copy link

gudang commented Apr 16, 2020

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

@thinker2013
Copy link

Same issue, ryzen 2400G on DockerToolbox-19.03.1

@leewi9
Copy link

leewi9 commented May 13, 2020

Same issue, AMD 3950X on DockerToolbox-19.03.1, Windows 10 Enterprise LTSC 1809

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests