VirtualBox is not installed.

昨天安装DockerToolbox成功后,启动start.sh报错,主要是配置环境变量的问题,以下是解决办法:
VirtualBox is not installed. Please re-run the Toolbox Installer and try again.
Looks like something went wrong in step ´Looking for vboxmanage.exe´… Press any key to continue…
window7下安装docker并运行start.sh时,遇到上面的问题,
提示信息说找不到vboxmanage.exe,所以我们要解决这个问题:
我们首先要手动找到VirtualBox的vboxmanage.exe,本人通过window查找:
VirtualBox is not installed.

知道vBoxManager.exe位于D:\Program Files (x86)\,因为是运行start.sh时出现问题,我们使用编辑器打开start.sh
VirtualBox is not installed.
要注意图片里是:”${VBOX_MSI_INSTALL_PATH}VBoxManage.exe”,”${VBOX_INSTALL_PATH}VBoxManage.exe”
所以我们在window中添加系统环境变量(请务必记住变量值后面加上反斜杠 /,这样start.sh里面才能正常找到vBoxManager.exe;):
VirtualBox is not installed.
VirtualBox is not installed.
重新双击start.sh即可出现正常界面。
此刻慢慢等,因为,默认自带的boot2docker.iso是过时的。你可以尝试自己通过其他渠道下载然后搁到对应的位置或者静静等待下载完成;
(window并没有原生支持docker安装,上面的安装方式依旧是安装虚拟机然后再在虚拟机里面安装docker,在window上安装docker坑很多)

猜你喜欢

转载自blog.51cto.com/11959825/2133183
今日推荐