admin管理员组文章数量:1577827
一、Docker Desktop for Windows获取官网地址
二、Docker win10只支持专业版,家庭版安装会报Installation failed:one pre-requisite is not fullfilled错误,解决方法如下:
新建hyperv.cmd,编辑内容如下,以管理员身份运行,遇到下载进度卡着不动可按回车继续。。执行完后会提示重启电脑:Y。
pushd "%~dp0"
dir /b %SystemRoot%servicingPackages*Hyper-V*.mum >hyper-v.txt
for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%servicingPackages%%i"
del hyper-v.txt
Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL
三、启用或关闭Windows功能:勾选Hyper-V
四、提示Installation failed:Containers Windows Feature is not available
解决方法:新建containers.cmd,编辑内容如下,以管理员身份运行,执行完后会提示重启电脑:Y。
pushd "%~dp0"
dir /b %SystemRoot%servicingPackages*containers*.mum >containers.txt
for /f %%i in ('findstr /i . containers.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%servicingPackages%%i"
del containers.txt
Dism /online /enable-feature /featurename:Containers -All /LimitAccess /ALL
pause
-----安装成功-----
五、cmd命令行执行docker version查看docker版本
六、启动Docker又报Hardware assisted virtualization and data execution protection must be enabled in the BIOS错误,解决方法:打开任务管理器-性能查看虚拟化是否已开启。
若未开启虚拟化参考解决方法:BIOS开启虚拟化
------到此docker desktop终于启动起来啦-----
本文标签: 解决方法家庭版方式Dockerinstaller
版权声明:本文标题:Win10家庭版Docker Desktop Installer 方式安装Docker遇到的问题及解决方法 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://www.elefans.com/xitong/1727827393a1132302.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论