docker:windows10安装docker

windows10专业版采用这种办法

链接:https://www.cnblogs.com/5bug/p/8506085.html

Win10家庭版系统没有Hyper-V虚拟机如何安装

http://www.win7zhijia.cn/jiaocheng/win7_19403.html

docker:windows10安装docker_第1张图片

因为我的不是专业版才报错:

Installation failed:one pre-requisite is not full filled Docker for Windows requires Windows 10 Pro or Enterpriser version 14393,or Windows server 2016 RTM to run

docker:windows10安装docker_第2张图片

win10家庭版安装Docker

https://blog.csdn.net/qq_40234695/article/details/89155988

安装步骤一路下点出现下面问题

Running pre-create checks...
Error with pre-create check: "This computer is running Hyper-V. VirtualBox won't boot a 64bits VM when Hyper-V is activated. Either use Hyper-V as a driver, or disable the Hyper-V hypervisor. (To skip this check, use --virtualbox-no-vtx-check)"
Looks like something went wrong in step ´Checking if machine default exists´... Press any key to continue...

解决方案转:https://cloud.tencent.com/developer/article/1355198

根据上面第二部改参数完后,又有问题,没办法又找下面这种办法才解决的,


管理员身份运行命令提示符 cmd

bcdedit /copy {current} /d “Windows10 no Hyper-V
bcdedit /set {XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX} hypervisorlaunchtype OFF

将查询出来的64位编码替换上面的XXX代码即可

重启 Windows10 就能选择是否启用 Hyper-v,在“no Hyper-V”中,可以运行 Vmware 虚拟机,而另一个启动选项运行 Hyper-v

docker:windows10安装docker_第3张图片

最后就是改参数加修改配置重启成功

 

你可能感兴趣的:(docker)