我运行的是WSL,特别是WLinux发行版。我已经安装了用于Windows和Wlinux的Docker,以及用于WSL的Docker Brigde。
现在我尝试启动我的Docker实例,Docker-Toolbox,但是我得到了这个错误:
➜ docker-machine.exe start
Starting "default"...
(default) Check network to re-create if needed...
(default) Windows might ask for the permission to configure a dhcp server. Sometimes, such confirmation window is minimized in the taskbar.
Error setting up host only network on machine start: C:\Program Files\Oracle\VirtualBox\VBoxManage.exe modifyvm default --nic2 hostonly --nictype2 82540EM --nicpromisc2 deny --hostonlyadapter2 VirtualBox Host-Only Ethernet Adapter #2 --cableconnected2 on failed:
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "LockMachine(a->session, LockType_Write)" at line 525 of file VBoxManageModifyVM.cpp我已经尝试了各种解决方案,但似乎都不能让我的docker运行。即使我从docker自己的终端运行它,它仍然超时,并给出一个没有响应的错误。
有没有人知道哪里出了问题,以及如何修复?正如您所看到的,Docker识别出默认的docker安装,并尝试启动它,但出现了一些问题……
发布于 2019-01-28 22:58:52
看看这个要点:https://gist.github.com/jwilson8767/00a46f5ca63327d5bfd802f87b702c8d
您不需要第一部分,因为您已经在linux子系统中安装了docker。从第13行开始,您只需运行这些命令一次。
此外,请参阅我的注释(https://gist.github.com/jwilson8767/00a46f5ca63327d5bfd802f87b702c8d#gistcomment-2587348),了解由于docker-toolbox中的更改而必须进行的两项修改。
https://stackoverflow.com/questions/54403707
复制相似问题