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

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 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误
  • ¥15 (关键词-阻抗匹配,HFSS,RFID标签天线)
  • ¥15 机器人轨迹规划相关问题
  • ¥15 word样式右侧翻页键消失