Home > Operation and Maintenance > Docker > What are docker and k8s

What are docker and k8s

青灯夜游
Release: 2022-01-28 14:40:39
Original
4117 people have browsed it

Docker is an open source application container engine that allows developers to package applications and dependencies into a portable container and publish them to popular Linux machines. The full name of k8s is "Kubernetes". It is an open source container cluster management system that can realize automatic deployment, automatic expansion and contraction, maintenance and other functions of container clusters.

What are docker and k8s

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

Docker

Docker is an open source application container engine that allows developers to package their applications and dependencies into a portable image and then publish it to Virtualization can also be implemented on any popular Linux or Windows operating system machine. Containers completely use the sandbox mechanism and will not have any interfaces with each other.

The three core concepts of Docker are:

① Mirror ② Container ③ Warehouse

If you want to understand the above terms, you must first listen A little story, I own a house. When I want to own another house, I have to hire people to build it and get materials. When cloning technology appears, you can directly clone a new "image" file, put it in the package, and open it directly when you use it.

The image is the Docker image just mentioned, the backpack is the Docker warehouse, and the house is the Docker container

Kubernetes(k8s)

k8s is an open source container cluster management system that can realize automatic deployment, automatic expansion and contraction, maintenance and other functions of container clusters.

k8s is a leading distributed architecture solution based on container technology. Based on docker technology, it provides a complete series of deployment and operation, resource scheduling, service discovery and dynamic scaling for containerized applications. This function improves the convenience of cluster management and enables self-healing of faults. For example, if a server hangs up, the server can be automatically scheduled to run on another host.

PS:

Why is Kubernetes called k8s? Because there are eight letters between the first letter k and the last letter s

Recommended study: "docker video tutorial

The above is the detailed content of What are docker and k8s. 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