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

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条)

报告相同问题?

悬赏问题

  • ¥15 远程安装一下vasp
  • ¥15 自己做的代码上传图片时,报错
  • ¥15 Lingo线性规划模型怎么搭建
  • ¥15 关于#python#的问题,请各位专家解答!区间型正向化
  • ¥15 unity从3D升级到urp管线,打包ab包后,材质全部变紫色
  • ¥50 comsol温度场仿真无法模拟微米级激光光斑
  • ¥15 上传图片时提交的存储类型
  • ¥15 VB.NET如何绘制倾斜的椭圆
  • ¥15 arbotix没有/cmd_vel话题
  • ¥15 odoo17的分包重新供应路线如何设置?可从销售订单中实时直接触发采购订单或相关单据