docker toolbox quick start fails with VBoxManage.exe error in Windows 10

NBajanca picture NBajanca · Feb 5, 2017 · Viewed 17.3k times · Source

I am trying to use docker in Windows 10 Home.

During install (in the Virtual Box part) I get an error:

Cannot rename this connection. A connection with the name you specified already exists. Specify a different name.

This can be closed and the installation continues.

However, when I click the quick start (start.sh) I get the following error:

Starting "default"... (default) Check network to re-create if needed... Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless failed: VBoxManage.exe: error: The virtual machine 'default' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users*****.docker\machine\machines\default\default\Logs\VBoxHardening.log VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine Looks like something went wrong in step ´Checking status on default´... Press any key to continue...

This error is already as an Issue for toolbox but the solutions that worked for some people didn't for me:

  • Delete .docker directory (in C:\Users\<user.name>\.docker);
  • Reinstalling both virtualbox and docker toolbox;
  • Check "Install VirtualBox with NDIS5 driver" during toolbox install.

Answer

A. S. Ranjan picture A. S. Ranjan · Jan 15, 2019

Uninstall Virtual Box and reinstall using the following parameter in an Administrator command prompt:

Note: the latest VirtualBox version might be different:

c:\downloads\VirtualBox-6.0.0-127566-Win.exe -msiparams NETWORKTYPE=NDIS5