Installing docker Toolbox under windows failed to start Docker Quickstart Terminal!

  docker, question

Windows7(64) failed to start Docker Quickstart Terminal after installing and playing docker Toolbox!

clipboard.png

What is the reason why vboxmanage.exe cannot be found?

Sh can be initialized normally by double-clicking start.sh

clipboard.png

Let’s put down the start.sh code roughly.

#!  /bin/bash
 
 trap '[ "$?"  -eq 0 ] || read -p "Looks like something went wrong in step ´$STEP´... Press any key to continue..."' EXIT
 
 # TODO: I'm sure this is not very robust.  But, it is needed for now to ensure
 # that binaries provided by Docker Toolbox over-ride binaries provided by
 # Docker for Windows when launching using the Quickstart.
 export PATH="/c/Program Files/Docker Toolbox:$PATH"
 VM=${DOCKER_MACHINE_NAME-default}
 DOCKER_MACHINE=./docker-machine.exe
 
 STEP="Looking for vboxmanage.exe"
 if [ !   -z "$VBOX_MSI_INSTALL_PATH" ];  then
 VBOXMANAGE="${VBOX_MSI_INSTALL_PATH}VBoxManage.exe"
 else
 VBOXMANAGE="${VBOX_INSTALL_PATH}VBoxManage.exe"
 fi

Can’t find the reason!

This is an environment variable (VBOX_MSI_INSTALL_PATH or VBOX_INSTALL_PATH) without setting the installation path of VirtualBox under windows. It should be enough to set these two environment variables.