In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains "must the container docker be installed on the virtual machine". The explanation in the article is simple and clear and easy to learn and understand. Please follow the editor's train of thought to study and learn "does the container docker have to be installed on the virtual machine?"
Is the container docker installed on a virtual machine? The docker container can run on either a virtual machine or a physical machine. Strictly speaking, containers and virtual machines are not the same level of things, it is a package collection of software + environment.
Both virtual machines and physical machines are a delivery mode of hardware / infrastructure, which is essentially a level, while containers mainly solve a series of software-centric problems (development, testing, deployment, release, running).
It has become a practical practice to run containers in virtual machines. For example, AWS's container service runs only in virtual machines.
About container docker and virtualization technology
The Docker daemon can communicate directly with the main operating system and allocate resources to individual Docker containers; it can also isolate containers from the main operating system and separate containers from each other. Docker is often used to isolate different applications, such as front-end, back-end, and databases.
Docker has the characteristics of small size, fast migration and high efficiency, but its isolation is worse than server virtualization: different containers belong to different waybills (different application instances running on Docker) and are independent of each other (isolated). However, it is managed by the same library manager (host operating system kernel), so the relevant information about all containers can be seen through the library manager (because the operating system kernel is shared, so the relevant information is shared).
Virtual machines are better at completely isolating the entire operating environment. For example, cloud service providers often use virtual machine technology to isolate different users. It takes several minutes for the virtual machine to start, while the Docker container can start in milliseconds. Without a bloated operating system, Docker can save a lot of disk space and other system resources.
Server virtualization is like building multiple independent "small docks"-warehouses (virtual machines) on the dock (physical host and virtualization layer). It has completely separate (isolated) space and belongs to different customers (virtual machine owners). Each warehouse has its own warehouse manager (the operating system kernel of the current virtual machine) and cannot manage other warehouses. There is no information sharing.
Therefore, we need to adopt different ways according to different application scenarios and requirements, using Docker technology or server virtualization technology.
Thank you for your reading. the above is the content of "must the container docker be installed on the virtual machine". After the study of this article, I believe you have a deeper understanding of the problem that the container docker must be installed on the virtual machine. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.