Home  >  Article  >  Operation and Maintenance  >  What are the main features of docker

What are the main features of docker

王林
王林Original
2020-04-15 16:01:176469browse

What are the main features of docker

The main features are as follows:

1. File system isolation

Each process container runs in a completely independent root file system.

2. Resource isolation

You can use cgroup to allocate different system resources, such as CPU and memory, to each process container.

3. Network isolation

Each process container runs in its own network namespace and has its own virtual interface and IP address.

4. Copy-on-write

Use copy-on-write to create the root file system, which makes deployment extremely fast and saves memory and hard disk space.

5. Logging

Docker will collect and record the standard stream (stdout/stderr/stdin) of each process container for real-time retrieval or batch retrieval.

6. Change Management

Changes to the container file system can be committed to new images and reused to create more containers without using templates or manual configuration.

7. Interactive Shell

Docker can allocate a virtual terminal and associate it to the standard input of any container, such as running a one-time interactive shell.

Recommended tutorial: docker tutorial

The above is the detailed content of What are the main features of docker. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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