1. Enter the Docker official website First, go to the Docker official website to download the latest official Docker for Windows: Docker Download You can view Docker's development documentation on the official website. According to the official website, downloading Docker in Windows environment must meet the following requirements: Docker for Windows requires 64bit Windows 10 Pro and Microsoft Hyper-V (that is, 64-bit Windows 10 Pro (both Professional and Enterprise editions) and Microsoft Hyper-V). Hyper-V is Microsoft's virtual machine, which comes with Windows 10. We just need to start it. 2. Start Microsoft Hyper-V On your computer, open "Control Panel" -> "Programs" -> "Turn Windows features on or off". Click on the red box content: As follows, check the Hyper-V option: After clicking OK, the system will update automatically. After the update is complete, you will be prompted whether to restart the computer. Choose to restart the computer immediately . After restarting the computer, left-click the win icon, view all applications on the computer, and find "windows management tools": If you click on it and see a Hyper-V manager, it means that Hyper-V has been successfully opened. Click it to view the manager content: 3. Install Docker I downloaded the stable version: After waiting for the installation file to be downloaded, double-click it and a pop-up will appear: After checking the box to accept, click Install and the installation will start automatically: After successful installation, it will display: You can see that there is an additional Docker for Windows icon on the desktop. After the installation is complete, Docker will start automatically, but my computer has been unresponsive for a long time. I saw in the task manager that Docker is open, but it just won’t run, so I restarted the computer, and after the restart, the following prompt popped up: While waiting to start Docker, an error pops up: Not enough memory to start Docker, and Docker cannot be started: It means "You are trying to start Docker but you don't have enough memory, free up some memory or change your settings". Right-click the icon and find "settings...". Click it and modify the Docker memory from 2048MB to 1280MB as shown in the figure, then click Apply and Docker will restart automatically. Now you can see that Docker is running 4. Start your Docker journey Docker operations are performed using the command line, so we need to open the command line tool first (or download other tools such as PowerShell, etc.). Keyboard input: win+R, open the run tool, enter cmd, open the command line tool: You can try to check our Docker version first: For a detailed tutorial on how to use Docker, please see another article The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Implementation of importing and exporting vue-element-admin projects
The author has been working on a micro-frontend p...
<br />User experience is increasingly valued...
Frame structure tag <frameset></frameset...
This article is translated from the blog Usability...
Download MySQL https://dev.mysql.com/downloads/my...
Table of contents Preface Virtual DOM What is Vir...
Server Information Management server: m01 172.16....
Ubuntu16.04 install and uninstall pip Experimenta...
Code: <input type="text" class="...
Table of contents Overview What is lazy loading? ...
As front-end engineers, IE must be familiar to us...
Table of contents Preface What is index pushdown?...
This article shares the tutorial of MySql install...
1. Introduction Recently I found that there are m...
You can manage and deploy Docker containers in a ...