Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory" even though it's enabled

I just faced same issue on Windows 10 Home with Docker Toolbox 18.09.3 (laptop powered by Ryzen 2500U): running normal linux image via Virtualbox works like a charm, and msinfo32 tool reports "virtualization enabled: true"

What helped me was adding --virtualbox-no-vtx-check to the docker-machine create command, to be more specific I used this cmd:

docker-machine create -d virtualbox --virtualbox-memory=4096 \
    --virtualbox-cpu-count=4 --virtualbox-disk-size=40960 \
    --virtualbox-no-vtx-check default

And everything worked just great! Hope this helps on your case as well :-)


Simply, bypass Virtualization check in the Docker Quickstart Terminal shell script. Follow below steps:

  1. Go to C:\Program Files\Docker Toolbox.
  2. Edit start.sh file in a text editor (preferably, select run as administrator)
  3. Update line #69 as "${DOCKER_MACHINE}" create -d virtualbox --virtualbox-no-vtx- check $PROXY_ENV "${VM}"
  4. Save and close the file.
  5. Click on "Docker Quickstart Terminal" on the desktop, after restarting your machine.

Docker should be up and running in your windows machine without any issues.

~Note: If you face any error with VirtualBox, try to uninstall VirtualBox and install latest version and try again.


to make it more clear, I was helped by these commands in cmd (win + r):

  docker-machine create -d virtualbox --virtualbox-memory=4096 

then:

  docker-machine create -d virtualbox --virtualbox-no-vtx-check default

Tags:

Docker

Devops