In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-11 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces you how to carry out the principle analysis of Docker introduction, the content is very detailed, interested friends can refer to, hope to be helpful to you.
Programmers living in the cloud era are really happy, with a variety of rich development tools to choose from. Since you live in the cloud age, programmers should use cloud thinking to develop. This series of articles is based on Docker development, learning and summarizing notes.
Background
Docker is an open source project, born in early 2013, originally as an amateur project within dotCloud, implemented in the go language, complying with the Apache 2.0 protocol, and the project code is hosted on github.
Due to many novel features and the openness of the project itself, Docker has quickly won the favor of many manufacturers in less than two years, including industry leaders such as Google,Microsoft,VMware. In mid-September this year, Docker received $40 million in round C financing to promote the development of distributed applications.
Principle
Docker is a container engine project based on lightweight virtualization technology. Docker can quickly and automatically deploy applications in containers, and can provide container resource isolation and security through kernel virtualization technologies (namespaces, cgoups, etc.). Because Docker is isolated through virtualization in the operation layer, Docker containers do not need additional operating system overhead similar to virtual machines (VM) to improve resource utilization. And improve the performance of injection IO and other aspects.
Docker means longshoremen, that is, porters, who carry containers (Container). The containers are not filled with goods, but any type of App,docker puts App (called Paylaod) in Container, and through the packaging of Linux Container technology, App is turned into a standard, portable, self-managed component, which can be developed, debugged and run in the developer's system. Finally, it is very convenient and consistent to run in the product (Porduction) environment.
Characteristics
Docker provides a portable configuration standardization mechanism that allows you to run the same Container; consistently on different machines, while LXC itself may not be portable because of different configurations of different machines.
Docker focuses on App and does a lot of optimization for application deployment, while LXC's help script focuses on how the machine starts faster and consumes less memory
Docker provides an automated build mechanism (Dockerfile) for App, including packaging, infrastructure dependency management, installation, etc.
Docker provides a Container versioning mechanism similar to git, which allows you to version the containers you have created. With this mechanism, you can download Container created by others, or even merge like git.
Docker Container is reusable and depends on the versioning mechanism, so you can easily reuse other people's Container (called Image) and extend it as the basic version.
Docker Container is shareable, just like github. Docker has its own INDEX. You can create your own Docker users and upload and download Docker Image.
Docker provides a number of tool chains to form an ecosystem; the goal of these tools is automation, personalization and integration, including support for the PAAS platform.
The difference between Docker and traditional virtual street
# # Why should I learn docker
Docker is a new way of virtualization, which has many advantages compared with traditional virtualization.
First of all, the system-level virtualization provided by Docker, compared with the traditional virtualization method, the utilization of Docker resources is extremely high. Except for the applications in the container, Docker basically does not consume additional system resources. When the traditional virtual machine starts several virtual machines at the same time, it needs to run several virtual machine applications at the same time, while Docekr only needs to start the corresponding isolation layer. All, a host can run hundreds of Docker containers. Second, the Docker container starts in seconds, which is beyond the reach of traditional virtual machines.
Faster delivery and deployment
For developers and operators (devop), what they want most is to create or configure it all at once, which can run smoothly anywhere.
Developers can use a standard image to build a set of development containers, and after development is complete, operators can directly use this container to deploy code. Docker can quickly create containers, quickly iterate over applications, and make the entire process visible, making it easier for other members of the team to understand how the application is created and works. Docker containers are very light and fast! The start-up time of the container is seconds, saving a lot of time in development, testing and deployment.
# # what knowledge should you have to learn Docker
Have some experience in using Linux, be familiar with using Linux command line. Have a certain understanding of PAAS, LXC, CGroup, AUFS.
What do you need to pay attention to in learning?
In the process of learning may come into contact with a lot of new concepts, do not understand the concept should be timely use of search engines to find the corresponding answers. More practice, for the problems encountered in the learning process should be hands-on practice, and solve.
This is the end of the principle analysis on how to introduce Docker. I hope the above content can be of some help to you and 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.