win10 installation Docker for Windows Home Edition

Foreword

Before doing that line of code to build a blog system for small project, you need to install Docker environment, then their own system is win10 Home Edition, not a professional version, and then gg ... no way to open Hyper-V, later discovered the magic of operation, the own win10 disguised as Pro, did not talk much, just start!
Here Insert Picture Description

1. Open Hyper-V

New hyperv.cmddocument, as follows:

pushd "%~dp0"

dir /b %SystemRoot%\servicing\Packages\*Hyper-V*.mum >hyper-v.txt

for /f %%i in ('findstr /i . hyper-v.txt 2^>nul') do dism /online /norestart /add-package:"%SystemRoot%\servicing\Packages\%%i"

del hyper-v.txt

Dism /online /enable-feature /featurename:Microsoft-Hyper-V-All /LimitAccess /ALL

As an administrator to perform hyperv.cmdfile.
If you want to reboot, then reboot.
In the 控制面板->程序和功能->启用或关闭Windowsopening function Hyper-V.

Here Insert Picture Description

2. disguised as win10 Pro

Administrator, open cmd
execute the following command:

REG ADD "HKEY_LOCAL_MACHINE\software\Microsoft\Windows NT\CurrentVersion" /v EditionId /T REG_EXPAND_SZ /d Professional /F

3. Download Docker for Windows

Domestic Mirror:
https://oomake.com/download/docker-windows (Baidu network disk)
https://mirrors.ustc.edu.cn/docker-ce/ (version updates are not timely)

After downloading directly installed, pay attention to uncheck container window (default is not checked) during installation.

Docker After a successful installation, execute cmd command docker version.


Of course, there are other issues, you can leave your comment field problems, solve them together, the way I can add, thank you!

Docker build on this end of it, I feel good, then more trouble spots like! I hope this blog help you ~

学如逆水行舟,不进则退
Published 509 original articles · won praise 1381 · Views 190,000 +

Guess you like

Origin blog.csdn.net/weixin_42429718/article/details/104237671