Docker ToolBox for Windows

Docker Toolbox is for older Mac and Windows systems that do not meet the requirements of Docker Desktop for Mac and Docker Desktop for Windows. Mostly windows Home edition doesn’t support Docker Desktop.

Please follow below link to install docker tool box in windows :

https://docs.docker.com/toolbox/toolbox_install_windows/

After the installation ,following issue might occur in windows .

Issues :

  1. When we run Docker QuickStart terminal after the installation, following error pops up in command
  2. Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default –type headless failed:
  3. VBoxManage.exe: error: Raw-mode is unavailable courtesy of Hyper-V. (VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT)
  4. VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component ConsoleWrap, interface IConsole
  5. Details: 00:00:01.943299 Power up failed (vrc=VERR_SUPDRV_NO_RAW_MODE_HYPER_V_ROOT, rc=E_FAIL (0X80004005))
  6. Looks like something went wrong in step ´Checking status on default´… Press any key to continue…

Resolution :

The above error is because of Hyper Vision . We need to enable HyperVision in windows with the below steps:

->Run a command prompt as administrator and execute:

dism /Online /Disable-Feature:Microsoft-Hyper-V

Note : For some cases ,you will get Feature name Microsoft-Hyper-V is unknown. when you trying to disable Hyper-V from Powershell. Please run below command

DISM /Online /Disable-Feature:HypervisorPlatform

->Reboot windows and type below in command prompt /powershell as admin.

bcdedit /set hypervisorlaunchtype off

If the above issue is not resolved after enabling hypervision then please follow below steps

-> Open C:\Program Files\Docker Toolbox

when docker toolbox was installed it should be as “${DOCKER_MACHINE}” create -d virtualbox $PROXY_ENV “${VM}”

Please edit start file as “${DOCKER_MACHINE}” create -d virtualbox -virtualbox-no-vtx-check $PROXY_ENV “${VM}”

-> Run bcdedit in powershell as admin mode,If hyper vision launcher type status OFF then its fine. If it is AUTO then run bcdedit /set hypervisorlaunchtype off to change status to OFF.

-> Reboot the system and start docker quick start

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s