Is there a performance penalty for Docker?
Docker has a performance loss, but it is very small. Compared with Docker’s excellent functions, this performance loss is negligible. Docker is an open source application container engine that allows developers to package The application is put into a container and then published to run on any popular Linux machine.
Docker
Docker is an open source application container engine that allows developers to package their applications and dependencies into a Portable containers are then published to any popular Linux machine or Windows machine, and virtualization can also be achieved. The containers completely use the sandbox mechanism and will not have any interfaces with each other.
A complete Docker consists of the following parts:
DockerClient client
Docker Daemon daemon process
Docker Image
DockerContainer Container
##Docker Principle
The core problem Docker solves is to use LXC to implement VM-like functions, thereby using more economical hardware resources to provide users with more computing resources. Different from the VM method, LXC is not a set of hardware virtualization methods - it cannot be classified into any of full virtualization, partial virtualization and paravirtualization, but an operating system level virtualization method, which may not be easy to understand. Not as intuitive as VM. So we start from the problems that docker needs to solve from virtualization to see how it meets the virtualization needs of users. Users need to consider virtualization methods, especially hardware virtualization methods, which mainly need to solve the following 4 problems:Docker"
The above is the detailed content of Is there a performance hit with Docker?. For more information, please follow other related articles on the PHP Chinese website!