官术网_书友最值得收藏!

The advantages of Continuous Integration/Continuous Deployment

ThoughtWorks defines Continuous Integration as a development practice that requires developers to integrate code into a shared repository several times a day. By having a continuous process of building and deploying code, organizations are able to instill quality control and testing as part of the everyday work cycle. The result is that updates and bug fixes happen much faster and the overall quality improves.

However, there has always been a challenge in creating development environments that match that of testing and production. Often inconsistencies in these environments make it difficult to gain the full advantage of continuous delivery.

Using Docker, developers are now able to have truly portable deployments. Containers that are deployed on a developer's laptop are easily deployed on an in-house staging server. They are then easily transferred to the production server running in the cloud. This is because Docker builds containers up with build files that specify parent layers. One advantage of this is that it becomes very easy to ensure OS, package, and application versions are the same across development, staging, and production environments.

Because all the dependencies are packaged into the layer, the same host server can have multiple containers running a variety of OS or package versions. Further, we can have various languages and frameworks on the same host server without the typical dependency clashes we would get in a virtual machine (VM) with a single operating system.

主站蜘蛛池模板: 兰西县| 班戈县| 临西县| 西林县| 邵东县| 麻江县| 罗江县| 始兴县| 金溪县| 元谋县| 柘荣县| 苍南县| 翼城县| 宁夏| 清流县| 宝山区| 江达县| 互助| 松阳县| 合川市| 黔西县| 秦皇岛市| 高陵县| 浮山县| 泸定县| 安图县| 昌乐县| 平乐县| 中宁县| 滦南县| 宁德市| 博兴县| 临邑县| 湖州市| 永定县| 瓦房店市| 深圳市| 北流市| 汉源县| 濮阳市| 黄梅县|