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
After VMware is abnormally shut down, it prompts ...
This command modifies the data table ff_vod and a...
1. Docker pull pulls the image When using $ docke...
This article shares the specific code of js to im...
Table of contents Preface About webSocket operati...
First, let me introduce how to install PHP on Cen...
Table of contents 1. Introduction 2. Installation...
Usage scenarios For existing servers A and B, if ...
In the previous article, we introduced how to use...
background In data warehouse modeling, the origin...
1. useState: Let functional components have state...
Preface Review and summary of mobile terminal rem...
Apache Arrow is a popular format used by various ...
Related articles: Beginners learn some HTML tags ...
The same server simulates the master-slave synchr...