Home > Article > Operation and Maintenance > What type of virtualization does docker belong to?
Docker belongs to operating system-level virtualization; the biggest feature of operating system virtualization is that it does not require additional supervisor support. The kernel isolates different processes by creating multiple virtual operating system instances. Container-related technologies are this category.
The operating environment of this tutorial: linux7.3 system, docker-1.13.1 version, Dell G3 computer.
Virtualization
Virtualization technology is a general concept , have different understandings in different fields. In the computing field, it generally refers to computing virtualization, or generally server virtualization.
The definition on Wikipedia is as follows: "In computer technology, virtualization is a resource management technology that abstracts various physical resources of the computer, such as servers, networks, memory and storage, etc. It is presented after conversion, breaking the inseparable barriers between physical structures, allowing users to apply these resources in a better way than the original configuration."
It can be seen that the core of virtualization is the control of resources Abstract, the goal is often to run multiple systems or applications simultaneously on the same host, thereby improving the utilization of system resources and bringing benefits such as cost reduction, convenient management, and fault tolerance and disaster tolerance.
Based on broad categories, virtualization technology can be divided into hardware-based virtualization and software-based virtualization.
Software-based virtualization can be divided into application virtualization and platform virtualization from the level of the object (the commonly referred to as virtual machine technology falls into this category). The former generally refers to some simulation devices or software such as Wine, and the latter can be subdivided into several subcategories:
Full virtualization: the virtual machine simulates the complete underlying hardware environment and the execution process of privileged instructions , the guest operating system does not need to be modified. For example, IBM p and z series virtualization, VMware Workstation, VirtualBox, QEMU, etc.;
Hardware-assisted virtualization: using hardware (mainly CPU) auxiliary support (currently on the x86 architecture Available hardware-assisted virtualization technologies (including Intel-VT and AMD-V) process sensitive instructions to achieve full virtualization functions without modification of the guest operating system, such as VMware Workstation, Xen, KVM;
Partial virtualization: Only some hardware resources are virtualized, and the guest operating system needs to be modified. Some early versions of virtualization technology now only support partial virtualization;
Paravirtualization: Some hardware interfaces are provided to the guest operating system in the form of software, and the guest operating system Modifications are required, such as early Xen;
Operating system level virtualization: The kernel isolates different processes by creating multiple virtual operating system instances (kernel and libraries). Container-related technologies fall into this category.
It can be seen that Docker and other container technologies belong to the category of operating system virtualization. The biggest feature of operating system virtualization is that it does not require additional supervisor support. The many advantages of Docker virtualization are inseparable from the design and implementation of the operating system virtualization technology itself.
Recommended learning: "docker video tutorial"
The above is the detailed content of What type of virtualization does docker belong to?. For more information, please follow other related articles on the PHP Chinese website!