What is docker? what's the effect?

王林
Release: 2020-06-24 17:54:10
forward
7483 people have browsed it

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!

Related labels:
source:cnblogs.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!