江jh 2020-12-29 10:54 采纳率: 87.5%
浏览 124
已采纳

win10家庭版docker安装splash报错


[color=#FF0000]win10家庭版[/color]安装了docker toolbox,想安装splash,使用命令
[code=text]docker run -p 8050:8050 scrapinghub/splash[/code]
docker run -p 8050:8050 scrapinghub/splash
报错:
[code=text]
docker: error during connect: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.26/containers/create: open //./pipe/docker_engine: The system cannot find the file specified. In the default daemon configuration on Windows, the docker client must be run elevated to connect. This error may also indicate that the docker daemon is not running..
See 'docker run --help'
.[/code]
如图:


百度搜索的方法不管用
命令行运行:docker-machine env --shell cmd default
显示:Error checking TLS connection: Host is not running
继续百度,输入:docker-machine env VMNAME
报:Host does not exist: "VMNAME"
我的Windows版本没有hyper-v
并且启动docker quickstart terminal打开没反应,如图:


我命令行运行:docker-machine create --engine-registry-mirror=https://3xf6vn0s.mirror.aliyuncs.com -d virtualbox default
docker镜像加速,反应如下:
[code=text]Running pre-create checks...
Creating machine...
(default) Copying C:\Users\jjh\.docker\machine\cache\boot2docker.iso to C:\Users\jjh\.docker\machine\machines\default\boot2docker.iso...
(default) Creating VirtualBox VM...
(default) Creating SSH key...
(default) Starting the VM...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to create a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
(default) Creating a new host-only adapter produced an error: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe hostonlyif create failed:
(default) 0%...
(default) Progress state: E_INVALIDARG
(default) VBoxManage.exe: error: Failed to create the host-only adapter
(default) VBoxManage.exe: error: Assertion failed: [!aInterfaceName.isEmpty()] at 'F:\tinderbox\win-5.1\src\VBox\Main\src-server\HostNetworkInterfaceImpl.cpp' (74) in long __cdecl HostNetworkInterface::init(class com::Bstr,class com::Bstr,class com::Guid,enum __MIDL___MIDL_itf_VirtualBox_0000_0000_0038).
(default) VBoxManage.exe: error: Please contact the product vendor!
(default) VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component HostNetworkInterfaceWrap, interface IHostNetworkInterface
(default) VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleCreate(struct HandlerArg *)" at line 71 of file VBoxManageHostonly.cpp
(default)
(default) This is a known VirtualBox bug. Let's try to recover anyway...
(default) Found a new host-only adapter: "VirtualBox Host-Only Ethernet Adapter #3"
(default) Windows might ask for the permission to configure a network adapter. Sometimes, such confirmation window is minimized in the taskbar.
(default) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
Error creating machine: Error in driver during machine creation: 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\jjh\.docker\machine\machines\default\default\Logs\VBoxHardening.log'
VBoxManage.exe: error: Details: code E_FAIL (0x80004005), component MachineWrap, interface IMachine[/code]
再输入同样的命令反应如下:
Host already exists: "default"
不知道算不算镜像设好了
见第一张图片
[size=24px]求高手解决[/size]

  • 写回答

6条回答 默认 最新

  • 歇歇 2020-12-29 17:16
    关注
    cd "C:\Program Files\Docker\Docker"
    ./DockerCli.exe -SwitchDaemon

    默认使用的是Linux Containers,使用这个命令后改为Windows Containers就好了

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(5条)

报告相同问题?

悬赏问题

  • ¥20 请问这种量表怎么用spss量化分析(作为中介模型的因变量
  • ¥55 AD844 howland电流源如何驱动大额负载
  • ¥15 C++ /QT 内存权限的判断函数列举
  • ¥15 深度学习GFnet理解问题
  • ¥15 单细胞小提琴堆叠图代码
  • ¥50 升级strust2版本到2.3.15.1后使用ognl3.0.6.jar windows环境中没有问题,但部署到linux环境报错
  • ¥15 vue页面,node封装接口
  • ¥15 求TMS320F280039C工程模板!
  • ¥15 delphi+fastreport实现分组补空打印问题
  • ¥15 使用python把两台mysql数据库服务器数据导出和导入