Docker Docker] [installation under win10 environment

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:
Write pictures described here
below, check the Hyper-V option:
Write pictures described here
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":
Write pictures described here
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:
Write pictures described here
Write pictures described here

Third, the installation Docker

I downloaded the stable version:
Write pictures described here
Double-click the installation file is downloaded after waiting for good, it will pop up:
Write pictures described here
check after receiving click Install, will be automatically installed:
Write pictures described here

After a successful installation will display:
Write pictures described here
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:
Write pictures described here
while waiting for the start Docker, pop-up error: not enough memory to start Docker, can not start Docker:
Write pictures described here
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:

Write pictures described here
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 ....".
Write pictures described here
Now you can see Docker already running
Write pictures described here

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:
Write pictures described here
you can try our first Docker Version:
Write pictures described here

Docker specific tutorials Check out another article

Original Address: https://blog.csdn.net/GO_D_OG/article/details/75675159

Guess you like

Origin www.cnblogs.com/jpfss/p/10942946.html