当前位置:   article > 正文

win10家庭教育版安装docker_docker desktop 安装 one prerequisite is not fulfille

docker desktop 安装 one prerequisite is not fulfilled we've detected that yo

参考地址:https://itnext.io/install-docker-on-windows-10-home-d8e621997c1d

安装问题:one prerequisite is not fulfilled.Docker Desktop requires Windows 10 Pro or Enterprise version 15063 to run

一、安装Hyper-V 和 Containers

1. 创建文件InstallHyperV.bat,并以管理员身份运行

  1. pushd "%~dp0"
  2. dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt
  3. for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
  4. del hyper-v.txt
  5. dism /online /enable-feature /featurename:Microsoft-Hyper-V -All /LimitAccess /ALL
  6. pause

2. 创建文件InstallContainers.bat,并以管理员身份运行

  1. pushd "%~dp0"
  2. dir /b %SystemRoot%\servicing\Packages\*containers*.mum >containers.txt
  3. for /f %%i in ('findstr /i . containers.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"
  4. del containers.txt
  5. dism /online /enable-feature /featurename:Containers -All /LimitAccess /ALL
  6. pause

3. 安装完成后重启电脑

二、在注册表中修改windows版本

1. 按Windows + R并执行regedit命令

2. 找到\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion目录下的EditionID​​​​​​​文件

3. 修改EditionID​​​​​​​文件Professional​​​​​​​

三、安装docker 

1. 下载地址:https://hub.docker.com/editions/community/docker-ce-desktop-windows

 

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/135498
推荐阅读
相关标签
  

闽ICP备14008679号