windows7(64)安装玩docker Toolbox 后启动Docker Quickstart Terminal 失败!
找不到vboxmanage.exe 这是什么原因呢?
双击start.sh就能够正常初始化
大概的放一下start.sh代码吧
#!/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
找不到原因!
怪我咯2017-04-25 09:04:42
This is the environment variable (VBOX_MSI_INSTALL_PATH or VBOX_INSTALL_PATH) that does not set the installation path of VirtualBox under Windows. It should be enough to set these two environment variables.