What are the advantages of Docker?

Source: Internet
Author: User

1. What is a container?

Virtualization technology based on Linux kernel functions

2. What is Docker?

An open Source engine that automatically deploys applications to containers

3. What is the difference between Docker and existing tools?

    • The traditional deployment mode is: Installation (Package management tool or source package compilation), configuration---run;
    • The deployment mode for Docker is: copy-and-run.

4. What changes does Docker make to server-side development/deployment?

Enable more lightweight virtualization for rapid deployment
Significantly reduce the time and labor costs of deployment for deployment

Docker supports the process of packaging applications into a portable container, redefining application development, testing, and deploying on-line, with the core idea of Build once, Run anywhere. A typical application scenario is a service that provides continuous integration and continuous deployment on DevOps.

1) Standardized application release, Docker container contains the operating environment and executable programs, can be used across platforms and hosts;

2) Save time, rapid deployment and start-up, VM boot is generally minute level, Docker container start is the second level;

3) Easy to build a system based on SOA architecture or micro-service architecture, through service orchestration, better loose coupling;

4) cost savings, the previous virtual machine requires at least a few g of disk space, Docker containers can be reduced to MB level;

5) Facilitate continuous integration, through the association with the code to make continuous integration very convenient;

6) as a lightweight host or node of a clustered system, CaaS has appeared on the IaaS platform, replacing the original host with a container.

Docker Benefits:

1. Standardization of deliverables

Docker is the "standardized" delivery component in the field of software engineering, and the best analogy is "container".

Containers will be scattered, not easy to carry a large number of items packaged into a whole, container more important meaning is that it provides a common standard of packaged goods, trucks, trains, cargo ships, bridge cranes and other transport or handling tools to adopt this standard, tunnels, bridges, etc. also adopt this standard. The standardization of container-centric design greatly improves the operational efficiency of the logistics system.

Traditional software deliverables include: applications, dependent software installation packages, configuration documentation, installation documentation, on-line documentation and other non-standardized components. Docker's standardized deliverables are called "mirrors", which contain applications and the operating environment they depend on, greatly simplifying the mode of application delivery.


2, one build, multiple deliveries

Similar to the container's "one box, multiple transports", Docker images can be "built once, delivered multiple times". The value of Docker can be more evident when it comes to application multi-copy deployment or application migration.


3. Application Isolation

Containers can be effectively isolated between goods, so that chemicals and food can be piled together to transport. Docker can isolate the interaction between different applications, but it is less expensive than virtual machines.



Links: https://www.zhihu.com/question/22871084/answer/127957051

What are the advantages of Docker?

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.