Home > Operation and Maintenance > Docker > What does docker containerization mean?

What does docker containerization mean?

WBOY
Release: 2022-03-23 17:40:17
Original
2998 people have browsed it

Docker containerization refers to the process of integrating applications into containers and running them; the core idea of ​​docker is how to integrate applications into containers and actually run them in the containers. Once the application is containerized Once completed, it can be delivered as an image and run as a container.

What does docker containerization mean?

The operating environment of this tutorial: linux7.3 system, docker-1.13.1 version, Dell G3 computer.

What does docker containerization mean

The process of integrating applications into containers and running them is called "Containerizing", sometimes also called "Dockerization" ( Dockerizing).

The core idea of ​​Docker is how to integrate applications into containers and actually run them in the containers. Containers are designed for applications. Specifically, containers can simplify the process of building, deploying, and running applications.

Once the application containerization is completed (that is, the application is packaged as a Docker image), it can be delivered in the form of an image and run as a container.

The complete application containerization process is mainly divided into the following steps.

1. Write application code.

2. Create a Dockerfile, which includes a description of the current application, dependencies and how to run the application.

3. Execute the docker image build command on the Dockerfile.

4. Wait for Docker to build the application into the Docker image.

In container services, for Docker images, excessive size is not good! Larger devices are slower, which means they are more difficult to use and may be more fragile and vulnerable to attack.

In view of this, Docker images should be as small as possible. For a production image, the goal is to shrink it down to only what is necessary to run the application. The problem is that generating smaller images is not easy. Different Dockerfile writing methods will have a significant impact on the size of the image.

Recommended learning: "docker video tutorial"

The above is the detailed content of What does docker containerization mean?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
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