Home  >  Article  >  Operation and Maintenance  >  What is docker? what's the effect?

What is docker? what's the effect?

王林
王林forward
2020-06-24 17:54:107512browse

What is docker? what's the effect?

What is docker?

(Recommended tutorial: docker)

Docker is an open Source code software projects automate the deployment of applications under software containers, thereby providing an additional software abstraction layer on the Linux operating system and an automatic management mechanism for operating system layer virtualization.

Docker uses resource separation mechanisms in the Linux core, such as cgroups, and Linux core namespaces, to create independent containers.

This works under a single Linux entity, avoiding the additional burden of booting a virtual machine. The Linux kernel's support for namespaces completely isolates the application's view of the working environment, including the process tree, network, user ID and mounted file system, while the core cgroup provides resource isolation, including CPU, memory, block I/O and network.

what's the effect?

Solve problems caused by inconsistent operating environments. In this way, there will be no situation where "it runs fine locally, but it doesn't work once it's on the server."

Limit the largest CPU to use the memory hard disk, which plays a role in isolation and avoids the situation where "a piece of code creates an infinite loop, fills up the disk, and other programs also hang up."

Summary in one sentence: Docker’s standardization makes rapid expansion and elastic scaling easy.

The above is the detailed content of What is docker? what's the effect?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:cnblogs.com. If there is any infringement, please contact admin@php.cn delete