[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]