Docker installation for Windows
This is my configuration
OS Name: Microsoft Windows 10 Home Chinese Edition
OS Version: 10.0.19044 No Build 19044
The methods used include wsl and hyper-v. Hyper-v will affect the use of virtual machines such as vmware. This article uses the wsl solution.
Check if the Windows version can use docker
• Windows 11 64-bit: Home or Pro version 21H2 or higher, or Enterprise or Education version 21H2 or higher.
• Windows 10 64-bit: Home or Pro 21H1 (build 19043) or higher, or Enterprise or Education 20H2 (build 19042) or higher.
不够就升级update
Install wsl with administrator privilege powershell command
Windows logo key, enter powershell, click the administrator to run according to the picture
Enter wsl –install and wait for the installation to complete
Download and install Docker Desktop
Click this link directly to download
https://desktop.docker.com/win/main/amd64/Docker%20Desktop%20Installer.exe
or download it from the official website of docker.
https://docs.docker.com/get-started /
Little by little to complete the installation
start up
If you can start the page as shown in the figure, the installation is successful