Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot start docker after installation on Windows

I am a new to Docker. After the installation of Docker Toolbox (OS: Windows 10) I run Docker Quickstart Terminal and in the console I see this:

Running pre-create checks... Error wirh pre-create check: "Hyper-V is installed. VirtualBox won't boot a 64bits VM when Hyper-V is activated. It it's installed but deactivated, you can use --virtualbox-no-vtx-check to try anyways" Look like something went wrong in step 'Checking if machine default exists'... Press any key to continue... 

What did I do wrong? All checking of system and install steps are taken from here.

Thank you very much for your help!

like image 264
Denis Starkov Avatar asked Apr 27 '16 09:04

Denis Starkov


People also ask

How do I get Docker to start on Windows?

Get Docker Begin by navigating to Docker Desktop for Windows to download the installer. Before being able to download, a Docker Account must be created and used to sign in at the Docker website and installation base images.

How long does it take for Docker to start?

Enables integrated user interface to view and monitor Docker containers. Quickly starts Docker within ten seconds.


2 Answers

Hyper-V and VirtualBox are conflicting each other.

You can either uninstall Hyper-V or run

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

Source

like image 164
ArgonQQ Avatar answered Sep 20 '22 16:09

ArgonQQ


Docker supports Hyper-V as the driver

You need to perform the following steps:

  • Create a virtual switch, refer to this article on how to do that

  • Create a docker machine using that network switch and hyper-V driver.

    docker-machine create -d hyperv --hyperv-virtual-switch "name of the virtual switch created above" default 
like image 37
curiousgeek Avatar answered Sep 21 '22 16:09

curiousgeek