window下载Docker地址:http://mirrors.aliyun.com/docker-toolbox/windows/docker-toolbox/
使用Parallels Desktop虚拟机WIN10安装完成Docker后,提示需要开启VT-X/AMD-v
:
Error with pre-create check: "This computer doesn't have VT-X/AMD-v enabled. Enabling it in the BIOS is mandatory"
解释方法
1.在win10关闭状态下,配置--硬件--CPU与内存--高级设置--勾选启动nested虚拟化/PMU虚拟化
2.重新打开�Docker Quickstart Terminal
后,发现还是运行不了,缺少boot2docker
,但有提示重新下载,可手动下载后,替换到提示地址(C:/Users/Asen/.docker/machine/cache/)
Running pre-create checks...
(default) Image cache directory does not exist, creating it at C:\Users\Asen\.docker\machine\cache...
(default) No default Boot2Docker ISO found locally, downloading the latest release...
(default) Latest release for github.com/boot2docker/boot2docker is v19.03.12
(default) Downloading C:\Users\Asen\.docker\machine\cache\boot2docker.iso from https://github.com/boot2docker/boot2docker/releases/download/v19.03.12/boot2docker.iso...
下载地址:https://github.com/boot2docke...
或等自动下载好即可
最后安装成功
【注意】
双击Docker Quickstart Terminal
时,提示错误:
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
Looks like something went wrong in step ´Checking status on default´... Press any key to continue...
解决方法:只需要打开Docker Quickstart Terminal
时,只需要右击,使用以管理员身份运行
即可
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。