trans introduction--why

pull/417/head
Kerwin.Sun 2019-08-11 18:49:23 +08:00
parent 3b959abf68
commit d00b6e1911
1 changed files with 23 additions and 0 deletions

View File

@ -2,24 +2,47 @@
Docker
## Why use Docker ?
As a new virtualization solution, Docker has many advantager over
other traditional virtualization solutions.
###
Docker
### Use System Resources more efficiently
Docker has high utilization rate of system resources, because container does not need additional overhead such as hardware virtualization and running the whole system. It's more efficient than traditional virtual machine technology in application executing speed, memory expend and file storage speed. Therefore, a host with the same configuration can often run more applications than virtual machine technology.
###
Docker 宿
### Faster startup time
The traditional virtual machine technology needs minutes to startup application service, but Docker can do it in seconds or milliseconds due to running on the kernel of host machine and not running the whole system. It saves a considerable amount of time for developing, testing, deploying.
###
bug Docker **
### Consistent operating environment
The consensus problem of environment is a common problem in developing. It causes some bugs which weren't found at developing due to different environments of developing, testing, production. Docker's image provides a complete runtime environment without kernel, which ensures consistency of the application runtime environment so that problmes like * This piece of code is okey on my machine * do not recur.
###
[DevOps](https://zh.wikipedia.org/wiki/DevOps))人员来说,最希望的就是一次创建或配置,可以在任意地方正常运行。
### CI/CD
For development and operation[DevOps](https://zh.wikipedia.org/wiki/DevOps)people, desirable thing is to create or configure at once and run normally anywhere.
使 Docker [Dockerfile](../image/dockerfile/) [(Continuous Integration)](https://en.wikipedia.org/wiki/Continuous_integration) 系统进行集成测试,而运维人员则可以直接在生产环境中快速部署该镜像,甚至结合 [持续部署(Continuous Delivery/Deployment)](https://en.wikipedia.org/wiki/Continuous_delivery) 系统进行自动部署。
CI/CD can be achieved by customizing application mirrors with Docker. Developers can build images with [Dockerfile](../image/dockerfile/) and use [Continuous Integration](https://en.wikipedia.org/wiki/Continuous_integration) for integration testing. Operators can deply product environment quickly with this images, even use [Continuous Delivery/Deployment](https://en.wikipedia.org/wiki/Continuous_delivery) for automatic deployment.
使 `Dockerfile` 使便
###