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

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 metadata提取的PDF元数据,如何转换为一个Excel
  • ¥15 关于arduino编程toCharArray()函数的使用
  • ¥100 vc++混合CEF采用CLR方式编译报错
  • ¥15 coze 的插件输入飞书多维表格 app_token 后一直显示错误,如何解决?
  • ¥15 vite+vue3+plyr播放本地public文件夹下视频无法加载
  • ¥15 c#逐行读取txt文本,但是每一行里面数据之间空格数量不同
  • ¥50 如何openEuler 22.03上安装配置drbd
  • ¥20 ING91680C BLE5.3 芯片怎么实现串口收发数据
  • ¥15 无线连接树莓派,无法执行update,如何解决?(相关搜索:软件下载)
  • ¥15 Windows11, backspace, enter, space键失灵