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
1 Background Recently, I have been studying how t...
This article shares the specific code of JavaScri...
What is DOM? With JavaScript, you can reconstruct...
1. What is MySQL master-slave synchronization? Wh...
1. Modify my.cnf #The overall effect is that both...
Table of contents 1. Test environment 1.1 Hardwar...
Download https://tomcat.apache.org/download-80.cg...
Docker takes up a lot of space. Whenever we run c...
First, let's introduce a few key points about...
Table of contents 1. Function debounce 1. What is...
How to create a Linux virtual machine in VMware a...
Table of contents How to create a Pod? kubectl to...
Excel is the most commonly used tool for data ana...
<br /> CSS syntax for table borders The spec...
Inside the style tag of the vue component, there ...