First, enter the Docker's official website
First First Docker official website to download the latest official for Windows Docker: Docker download
in the official website can view the Docker development of the document.
According to the official website suggests that the Windows environment download Docker must be met: Docker for Windows requires 64bit Windows 10 Pro and Microsoft Hyper-V ( ie, requires 64-bit Windows 10 Pro (Professional Edition and Enterprise Edition can be), and Microsoft Hyper-V), Hyper -V is Microsoft's virtual machine, on win10 is built, we only need to start it.
Second, start Microsoft Hyper-V
Open the "Control Panel" on the computer -> "Programs" -> "Starting Windows features on or off."
Click on the red box content:
below, check the Hyper-V option:
When you click OK, the system will update itself, you are prompted to restart the computer, select the update is complete to restart the computer immediately . Restart the computer, left-click win icon to see all computer applications, find "windows management tools":
opening the can see there is a Hyper-V Manager, said Hyper-V has been successfully opened, you can click on to view the content manager:
Third, the installation Docker
I downloaded the stable version:
Double-click the installation file is downloaded after waiting for good, it will pop up:
check after receiving click Install, will be automatically installed:
After a successful installation will display:
you can see more than a Docker for Windows icon on the desktop.
After the installation is complete, Docker will start on its own, but my computer for a long time did not respond, I saw Docker is open, but it is not up and running in the task manager, so I restarted the computer, restart pop the following tips:
while waiting for the start Docker, pop-up error: not enough memory to start Docker, can not start Docker:
it means "you are trying to start Docker, but you do not have enough memory, free up some memory or change your settings." .
Docker find the icon in the taskbar:
Right-click on the icon, find, as modified Docker click into memory, replaced by the 2048MB 1280MB, then click Apply, Docker will automatically restart "settings ....".
Now you can see Docker already running
Fourth, the journey began Docker
Docker for the operation is to use the command line to operate, so we need to open a command-line tool (or download other tools such as PowerShell, etc.). Keyboard Input: win + R, open the Run tool, type cmd, open a command-line tool:
you can try our first Docker Version:
Docker specific tutorials Check out another article
Original Address: https://blog.csdn.net/GO_D_OG/article/details/75675159