[Others] docker installation guide under Windows 10 and stepping on pit solutions

1. Download the docker file from the official website for installation, the installation is complete, and the docker starts smoothly

2. Solutions to various problems encountered after the installation is completed and opened

1. Download the docker file from the official website (note: Windows 10 home version needs to install hyper-v by itself, professional version and above comes with it)

Successfully start the docker interface

 Problem 1: Docker Desktop is unable to detect a Hypervisor encountered when starting

The virtualization technology is not turned on, you need to turn on the virtualization hyper

Solution: Open the control panel under the settings - programs and features - enable and disable windows functions - check to open hyper-v

Remarks: If the hyper-v platform is grayed out and cannot be opened, you need to enable the virtualization technology in the bios, press del to enter the bios settings to enable the intel virtualization technology, refer to the figure below, check the box and restart the computer

When it is greyed out and cannot be checked, it is necessary to enable the virtual technology in the BIOS

meet

Question 2: After opening the virtual hyper, the startup encounters Docker Desktop requires a newer WSL kernel version

Solution: Install wsl, you can directly search and download from the Internet or download from the mall, I choose to download from the Microsoft store, which is more convenient, see the picture below, pay attention to restart the computer after installation

Question 3: After installing wsl and starting docker, I encountered the following problem, an unexpected error was encountered while..........

Solution: Run the command line as an administrator, execute the netsh winsock reset command, and start docker after the execution is successful. If it succeeds, restart the computer and start it again

4. After the above problems are solved, docker starts successfully.

Starting... a little while

If the startup page has not been started for a long time, you can try to turn off docker first and then turn it on again.

 Page after successful startup

Check the docker version under cmd

The installation is complete, end, and start playing with docker

Guess you like

Origin blog.csdn.net/MrChenLen/article/details/130277406
Recommended