【Docker】Understand what docker is starting from the logo

Welcome to "Little 5 Lecture Hall", hello everyone, I am Full Stack Little 5.
This is the xth article in 2024. This article is a series of articles on "Docker Containers". The blogger's ability and understanding are limited. Please correct me if there is anything wrong!
In actual work, I have actually come into contact with the concept of containers and have relatively little practical experience. Therefore, I record my learning and understanding process in the form of an article. You
can have an intuitive understanding from the cover picture below. Giant Whale and containers.

Insert image description here

Preface

Docker containers are actually the wrong thing for bloggers to come into contact with, especially since most of the C# development languages ​​​​use Windows operating systems. In fact, they have little practical experience. Therefore, through the summary article,
Docker containers have quickly gained widespread attention and popularity since their release in 2013. use.
However, what really made Docker containers popular was around 2015, when Docker launched the Docker Swarm cluster management tool and Docker Compose orchestration tool.
These tools make it easier to use Docker containers, attracting more and more users and enterprises to use Docker to build and deploy applications.
In addition, Docker containers are also widely supported by cloud computing vendors, such as AWS, Microsoft Azure, and Google Cloud, which further promotes the popularity and application of Docker containers.

Logounderstanding

This logo is quite interesting, intuitive and clear. It can not only explain its meaning, but also has its beauty.
Insert image description here

The logo is a giant whale with many containers shipped on it. The whale is a cargo ship, which is equivalent to a platform, and the containers on the whale are containers.
Containers contain various things, equivalent to different projects, and there is no connection between containers. They are isolated from each other.

Docker overview

Docker is an open source containerization technology that is used to develop, deliver, and run applications . Developed and maintained by Docker Company,
Docker can separate applications from infrastructure, so that software can be delivered quickly.
With Docker, infrastructure can be managed the same way applications are managed.
By leveraging Docker's method of quickly delivering, testing, and deploying code, the delay between writing code and running it in production can be significantly reduced.
Docker can package an application into an independent container, including programs, dependencies, configuration files, etc.,
so that the application can be run on any machine without worrying about environmental differences and dependency issues.
The advantages of Docker are obvious, it can help developers build, publish and run applications more efficiently.
Using Docker, you can easily build development environments, test environments, and production environments, and you can also quickly deploy and expand applications.

Code open source

Github address: https://github.com/docker/docker-ce

Containerization technology

Containerization technology is a method of encapsulating an application and all its dependencies in an independent running environment to facilitate deployment and operation across different computing environments.

Target

Provides a lightweight, portable and scalable deployment solution.

advantage

Insert image description here

1. Lightweight
containers share the kernel of the host operating system, so they start and run faster and occupy fewer resources.
2. Portability
Containers are independent of the underlying environment and can run on different operating systems, cloud platforms and physical servers.
3. Consistency
Containers package applications and their dependencies, ensuring the consistency of the environment and avoiding the "runs on my machine" problem.
4. Scalability
Containers can be expanded horizontally on demand to cope with increases in load.
5. Security
Containers provide an isolated operating environment to prevent applications from interacting with other containers or hosts.

architectural separation

The docker application is separated from the infrastructure, which can be reflected in the following aspects

1. Applications and dependencies are packaged into an independent container, separated from the underlying infrastructure.
2. There is no need to pay attention to or modify the underlying operating system and hardware configuration to deploy and run applications. It only needs to provide consistent Docker containers.
3. Applications can run on multiple different operating systems, cloud platforms, and physical servers without any changes.
4. Responsibilities between application developers and operations personnel become clearer. Developers are responsible for building and packaging applications into Docker containers, while operations personnel are responsible for managing and deploying Docker containers.
5. Application deployment and setup can also be automated, implemented by Docker management tools such as Docker Compose and Kubernetes.

Since Docker can be divided into development and operation and maintenance personnel for cooperation, the delivery speed will naturally be faster than that of one person doing the complete process.

Summary: Review the past and learn the new. Reviewing knowledge points at different stages will lead to different understandings and understandings. The blogger will consolidate the knowledge points and share them with everyone in a practical way. If it can be helpful and gainful, this will be a blog post. The Lord’s greatest creative motivation and honor. I also look forward to meeting more outstanding new and old bloggers.

Guess you like

Origin blog.csdn.net/lmy_520/article/details/135417705