docker usage scenarios 8

1. Simplified configuration

The greatest benefit of the virtual machine is configured to run a variety of different platforms (software, system) on your hardware, Docker provides the same functionality at a reduced overhead. It allows you to configure the operating environment and Code summary then placed deployment Docker same configuration can be used in different environments environments, thus reducing the degree of coupling between the hardware requirements and applications.

2. Code pipeline management

Code to the final in the production environment deployment from the developer's machine, need to go through a lot of backbone environment. And each intermediate environment has its own slight differences, Docker to the application provides a process from development to on-line are consistent environment for lines of code a lot easier.

3. enhance the development efficiency

Different environments, developers common goal:

First, let development environment as close to the production environment.

Second, I want to quickly setup the development environment

Development Environment machines are usually relatively small memory, before using the virtual, we often need to add memory machine development environment, and now Docker can easily make dozens of services in the run up in Docker.

4. Isolation Applications

It will run different applications on a single machine during development.

First, in order to reduce costs, server consolidation

Second, split an application into a single monolithic coupling low service (micro-service architecture)

5. Integration Server

Docker Docker ability to isolate such applications can consolidate a plurality of servers in order to reduce costs. Since there is no footprint of multiple operating systems, and can not be used shared between a plurality of memory instances, can provide better Docker than the virtual machine server integrated solutions.

6. debugging capabilities

Docker provides a lot of tools that are not necessarily only for container, but it is suitable for containers. They offer a lot of features, including the ability to set the container checkpoint, set version, see the difference between the two containers, these features can help debug Bug.

7. multi-tenant environment

Multi-tenant environments, it avoids rewriting critical applications. We are a special example of this scenario is for application development loT (IOT) is a fast, easy to use multi-tenant environments. This multi-tenant The basic code is very complicated, difficult to handle, re-planning to apply not only time consuming but also a waste of money.

Use Docker, you can create an isolated environment for multiple instances of the application layer of each tenant, which is not only simple and low cost, fast Docker environment starts because of the speed, diff command is very efficient.

8. rapid deployment

Docker create a container for the process, you do not need to start an operating system, shortening the time for the second level.

You can create a data center resources without fear of destruction restart the overhead of resource utilization data center is usually only 30%, by using the Docker and efficient resource allocation can improve resource utilization.

Guess you like

Origin www.cnblogs.com/vinic-xxm/p/11870873.html