찾다

 >  Q&A  >  본문

在windows下安装docker Toolbox 启动Docker Quickstart Terminal 失败!

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

找不到原因!

大家讲道理大家讲道理2774일 전934

모든 응답(1)나는 대답할 것이다

  • 怪我咯

    怪我咯2017-04-25 09:04:42

    Windows에서 VirtualBox의 설치 경로를 설정하지 않는 환경 변수(VBOX_MSI_INSTALL_PATH 또는 VBOX_INSTALL_PATH)입니다. 이 두 가지 환경 변수만 설정하면 충분합니다.

    회신하다
    0
  • 취소회신하다