Docker Overview Docker is an open source software deployment solution; Docker composition Docker consists of Docker server and Docker client. Docker includes the following components: container, image and repository, as shown in the following figure: Docker vs VM As a type of container, Docker is very different from traditional VMs. First, let's compare the two in terms of architecture: By comparison, we can see that VM is actually an operating system virtualized (hypervisor) based on hardware, and multiple VMs share the underlying hardware resources. Docker uses Namespace and CGroups technology for isolation based on Linux, which allows Docker to run on both hardware operating systems and VMs. The difference between the two also determines the difference between the two. Here we summarize the differences between the two, as follows: Since Docker has such a feature, what can Docker do? The figure below shows 8 scenarios of docker. Based on actual work, the author mainly uses docker to simplify the release process of existing products, reducing a lot of environment configuration work. Due to the isolation of docker, the application can be packaged into a docker image, and different versions of the same product can be packaged into different images, which also facilitates testing. Therefore, looking at Docker from different positions, the changes brought by Docker are all-round. You may also be interested in:
|
<<: Execution context and execution stack example explanation in JavaScript
>>: MySQL 5.7.17 latest installation tutorial with pictures and text
Table of contents 1. Test environment 1.1 Hardwar...
Clickhouse Introduction ClickHouse is a column-or...
Preface: The most commonly used architecture of M...
Online Preview https://jsrun.pro/AafKp/ First loo...
Concurrency Functions time for i in `grep server ...
Although head and DTD will not be displayed on th...
XHTML Headings Overview When we write Word docume...
Overview As for the current default network of Do...
1. Explanation of provide and inject Provide and ...
The following error occurred while installing the...
Preface When the code runs and an error occurs, w...
Due to company requirements, two nginx servers in...
This article example shares the specific code of ...
This article shares the specific code of vue+elem...
Using SSH terminal (such as putty, xshell) to con...