The goal of the Docker project is to implement a lightweight operating system virtualization solution. Docker is based on technologies such as Linux Containers (LXC).
Based on LXC, Docker has further encapsulated it so that users do not need to care about container management, making the operation easier. Users operating Docker containers are as easy as operating a fast and lightweight virtual machine.
The picture below compares the difference between Docker and traditional virtualization methods. It can be seen thatcontainers implement virtualization at the operating system level and directly reuse the operating system of the local host, while the traditional method It is implemented at the hardware level.
For more related tutorials, please pay attention to thedocker tutorialcolumn on the PHP Chinese website.
The above is the detailed content of The difference between docker and traditional virtualization. For more information, please follow other related articles on the PHP Chinese website!