Docker Community Forums

Share and learn in the Docker community.

Can't use docker inside virtual machine with windows server 2016

docker

(Johnpoland) #1

Expected behavior

I expected it to work properly inside VM.

Actual behavior

It won’t start because of problems with VT-X.

Information

  • the output of:

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…

  • Host: Windows 2016 Server(VM) and Host of VM is Windows 10.

Steps to reproduce the behavior

  1. Install Win 10 64bit on physical PC
  2. Install Virtualbox
  3. Create VM with Windows 2016 Server 64bit
  4. Download & Try to use “Docker Quickstart Terminal”

(Michael Friis) #2

Docker for Windows requires hyper-v and virtualization extensions. Without nested virtualization (not available in VirtualBox), Docker for Windows can’t install and work.


(Cyprayd) #3

I am running Docker in Ubuntu 18.04 on a Virtualbox on Windows 10.
I am following the get-started steps.
I am having the same problem that was raise in this topic, when I ran the docker-machine create command.
BIOS is enable in Windows, and VT-X is enabled in the Virtualbox.
Is there a way to resolve this in Linux?