In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces how to install Docker under Windows 10. The content is very detailed. Interested friends can use it for reference. I hope it will be helpful to you.
Preface
Docker has been very popular in recent years. But it's not a new technology. It's been more than six years now. Now even in the interview, this is an additional item. If you have been developing for many years, whether it is the front end or the back end, no matter which programming language it is. You really should play Docker. Otherwise it will be OUT.
What is Docker?
Let's not talk about the old-fashioned concept. To put it simply, docker is to package your application and its environment into a package. It can be run in an environment with docker, no matter what platform, it only needs to be packed once and can be ported to any platform. It's kind of like a java program. You only need to write it once, and you can run it wherever there is a JVM. Only docker did it more thoroughly. Your java program also needs a JVM environment, maybe a Mysql database environment, or even a redis cache environment, and so on. Docker can pack them all into a package (called image in docker terminology). You don't have to care about the environment, just Run. You can set up a mysql cluster image, and then start several clusters in several docker environments in an instant, which greatly facilitates deployment.
Install docker environment under windows10
Docker is developed in golang, mainly for linux systems. Therefore, docker can be run under linux. But most developers use win10 as the development machine. Of course, you can install a virtual machine to run docker. At present, docker already supports direct installation on win. The steps are as follows:
It must be win10 Professional Edition or Enterprise Edition. In fact, it has Hyper-V function, which is a virtual machine that comes with win10. There is no home version or education version. It is off by default, so turn it on. Method look at the following picture and tick it as shown by the arrow. Just restart the computer.
Https://www.docker.com/products/docker-desktop downloads the win10 version, just like other software, the next step. You may have to register for dockerID, which is similar to github, officially called DockerHub. You can upload your own image to your DockerHub. However, docker's domestic speed is not flattering. I think this should be a difficult problem in your installation process.
There will be this icon when the installation is complete, so let's start it just like we started QQ. Right-click in the Quick launch bar to find settings and we do some personalization.
The container can be mounted locally, pick a few of your own hooks
Allocate memory, cpu and so on. I believe you can understand this English and allocate it according to your own actual allocation.
Foreign countries are not very slow, simply tortoise speed, you can use the domestic mirror warehouse. Ali Yun, NetEase, Huawei Cloud and so on, I didn't charge them for advertising. The operation is as follows
Restart docker is done, you can have a good time to play, isn't it a bit like git.
On how to install Docker in Windows 10 to share here, I hope that the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.