[b]安装docker后命令行运行:docker run -p 8050:8050 scrapinghub/splash 安装太慢,想镜像加速,
输入:
docker-machine create --engine-registry-mirror=https://3xf6vn0s.mirror.aliyuncs.com -d virtualbox default,
运行,报错:
Running pre-create checks...
Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"
如图:
我的电脑是win10企业版,
求高手解决!
百度过,但方法没用[/b]
https://www.virtualbox.org/wiki/Downloads
官网下载地址
1.以管理员方式打开cmd,输入以下命令。(第二行命令参考第一行命令返回的结果)
C:\>bcdedit /copy {current} /d "No Hyper-V" The entry was successfully copied to {ff-23-113-824e-5c5144ea}. C:\>bcdedit /set {ff-23-113-824e-5c5144ea} hypervisorlaunchtype off The operation completed successfully.
2.重启电脑,选择No Hyper-V 系统,进入电脑。
3.下载安装Docker Toolbox。
4.打开安装目录,找到start.sh。
编辑start.sh,找到下面的代码片段:
STEP="Checking if machine $VM exists" if [ $VMEXISTSCODE -eq 1 ]; then "${DOCKERMACHINE}" rm -f "${VM}" &> /dev/null || : rm -rf ~/.docker/machine/machines/"${VM}" #set proxy variables if they exists if [ -n ${HTTPPROXY+x} ]; then PROXYENV="$PROXYENV --engine-env HTTPPROXY=$HTTPPROXY" fi if [ -n ${HTTPSPROXY+x} ]; then PROXYENV="$PROXYENV --engine-env HTTPSPROXY=$HTTPSPROXY" fi if [ -n ${NOPROXY+x} ]; then PROXYENV="$PROXYENV --engine-env NOPROXY=$NOPROXY" fi "${DOCKERMACHINE}" create -d virtualbox $PROXYENV "${VM}" fi
将最后第二行改为:
"${DOCKERMACHINE}" create -d virtualbox --virtualbox-no-vtx-check $PROXYENV "${VM}"
5.可以正常使用Docker Quickstart Termial了。
6.以后要用Docker,都要进入N0 Hyper-V 。
需要安装VirtualBox
https://www.onlinedown.net/soft/82464.htm
华军软件园有下载
查下官方wiki
Starting "default"...
(default) Check network to re-create if needed...
Unable to start the VM: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe startvm default --type headless failed:
VBoxManage.exe: error: The virtual machine 'default' has terminated unexpectedly during startup with exit code 1 (0x1). More details may be available in 'C:\Users\Siyong\.docker\machine\machines\default\default\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine
Looks like something went wrong in step ´Checking status on default´... Press any key to continue...
歇歇,我按你的方法还是打不开,顺便问一下win10家庭版能装splash吗?
需要安装VirtualBox
删除.docker目录(C:\Users\<user.name>\.docker);
重新安装virtualbox和docker工具箱;
在工具箱安装过程中选中“Install VirtualBox with NDIS5 driver”。
步骤1:下载并安装https://www.virtualbox.org/attachment/ticket/14040/VBox-Win10-fix-14040.exe让它在后台运行
步骤2:进入Virtualbox文件夹(可能是:C:\ProgramFiles\Oracle\VirtualBox)。
第三步:设置这三个文件(Virtualbox.exe, VBoxHeadless.exe,和VBoxManage.exe)兼容模式为Windows7。
家庭版也可以安装
记得安装补丁
好的,我试试
安装VBox-Win10-fix-14040.exe:下载了安装包之后安装,勾选了以管理员身份运行、以兼容模式运行,右键,以管理员身份运行,提示Error:could not set everything up,perhaps you have not run me as an administrator?
我是在家庭版运行的,企业版还没试过。
我刚刚在企业版试过,也安装不上,顺便问一下,补丁怎么下?
我试试进no-hyper-v
还是不行,我原来装的时候就勾选了Install VirtualBox with NDIS5 driver