First, Introduction:
The goal of Docker is to implement a lightweight operating system virtualization solution. Docker is based on technologies such as Linux containers (LXC).
Containers are virtualized at the operating system level, and are used to directly reuse the local host's operating system. The traditional approach is implemented at the hardware level
Compared with the traditional way of virtualization, the start of the container can be implemented in seconds, and then Docker is very efficient in system resource utilization, and the container does not consume additional system resources in addition to running the application. Traditional virtual machines run 10 different applications with 10 virtual machines, and Docker only needs to start 10 isolated applications.
Second, advantages:
Faster delivery and deployment: Once created or configured to work in any location
More efficient virtualization: The Docker container does not require additional hypervisor support to run.
Easier migration and expansion: can be run on any platform, including physical machines, virtual machines, public clouds, private clouds, personal computers, servers, and more.
Simpler management: All changes are distributed and updated incrementally, automating and efficiently managed.
Compare traditional Virtual Machine summary:
Characteristics
|
Container
|
Virtual machines
|
|
|
Start
|
Second level
|
Minute level
|
|
|
Hard disk use
|
is generally MB
|
typically GB
|
|
|
Performance |
Close to native
|
Weaker than
|
|
|
System Support Volume |
Stand-alone support for thousands of containers |
Typically dozens of
|
|
|
Ii. Basic Concepts
Image: is a read-only template.
Container (Container): A running instance created from a mirror can be seen as a simple version of the Linux environment (including root user rights, process space, user space, and network space) which can be started, started, stopped, and deleted. Each container is a mutually isolated, secure platform. The container creates a writable layer at the top level when it is started.
Warehouse (Repository): A place where the image files are centrally stored, in public and private warehouses
This article is from the "Everything Possible" blog, please be sure to keep this source http://pybscf.blog.51cto.com/670942/1751131
Getting started with Docker to Practice Note 1