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

6

3

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.
Goines answered 5/2, 2017 at 21:42 Comment(1)
Mine is also home edition, so I firstly download DockerToolbox.exe and install it right away, then I met the same situation as yours. This is how i solve it myself: 1) remove folder C:\Users\<user.name>\.docker 2)restart my pc. I don't un-install virtualbox but it works fine though...Dammar
G
4

I've managed to surpass this error with the help of this answer:

Step 1: Download and install https://www.virtualbox.org/attachment/ticket/14040/VBox-Win10-fix-14040.exe and leave it running in the background

Step 2: Head to the Virtual box program files (probably: C:\Program Files\Oracle\VirtualBox).

Step 3: Go to compatibility for these three .exe ( Virtualbox.exe, VBoxHeadless.exe, and VBoxManage.exe ) and choose windows 7.

Run quick start and it works.

I'm not sure this was solely responsible for the solution because before this I also did:

  • Delete .docker directory (in C:\Users\<user.name>\.docker);
  • Reinstalling both virtualbox and docker toolbox;
  • Check "Install VirtualBox with NDIS5 driver" during toolbox install.
Goines answered 5/2, 2017 at 21:42 Comment(0)
F
6

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

Fourdrinier answered 15/1, 2019 at 11:27 Comment(1)
Thanks! That worked, no need for compatibility or other software working on the background.Outrelief
G
4

I've managed to surpass this error with the help of this answer:

Step 1: Download and install https://www.virtualbox.org/attachment/ticket/14040/VBox-Win10-fix-14040.exe and leave it running in the background

Step 2: Head to the Virtual box program files (probably: C:\Program Files\Oracle\VirtualBox).

Step 3: Go to compatibility for these three .exe ( Virtualbox.exe, VBoxHeadless.exe, and VBoxManage.exe ) and choose windows 7.

Run quick start and it works.

I'm not sure this was solely responsible for the solution because before this I also did:

  • Delete .docker directory (in C:\Users\<user.name>\.docker);
  • Reinstalling both virtualbox and docker toolbox;
  • Check "Install VirtualBox with NDIS5 driver" during toolbox install.
Goines answered 5/2, 2017 at 21:42 Comment(0)
S
4

Try to run the quick start using an administrator. Specifically, right click the shortcut and choose 'Run as administrator'. This did the trick for me.

Sportswear answered 26/2, 2018 at 16:55 Comment(1)
This worked for me (Docker Toolbox v19.03.1 and Windows 10 pro 64bits)Intra
C
2

I had to uninstall the VM virtual box. Installed the latest version. Ran Docker toolbox as an administrator and boom, it worked!

Cowans answered 9/6, 2020 at 21:10 Comment(1)
Worked for me. The first solution to try should be this.Celin
U
0

Previous answers did not work for me. I uninstalled Docker Toolbox from Win10 Home. Also removed(all files too) the "default" VM created in Virtualbox.

On DockerToolbox-19.03.1.exe -> Right Click -> Troubleshoot compatibility. Ran compatibility check. Ran the installer in Adminstrator mode.

Then ran "Docker Quickstart Terminal" shortcut and everything worked fine.

Uam answered 17/8, 2019 at 12:10 Comment(0)
Z
0

It simply means "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 "

enter image description here

which results in

enter image description here

and now solution is to check whether hypervisor is enabled if enabled swich it to off and restart host machine mentioned in :

virtualbox Raw-mode is unavailable courtesy of Hyper-V windows 10

Heading

Zoi answered 2/5, 2020 at 10:53 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.