在windows下安装docker Toolbox 启动Docker Quickstart Terminal 失败!
大家讲道理
大家讲道理 2017-04-25 09:02:42
0
1
886

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

找不到原因!

大家讲道理
大家讲道理

光阴似箭催人老,日月如移越少年。

reply all(1)
刘奇

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!