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

Summary

In this chapter, we first described the microservice architecture and compared it to monolith applications. We discussed how traditional methods for the development, building, testing, and runtime environments could fail for running microservices in a cloud-native environment. Then, we explored containers in detail and explained why they have become the de facto solution for microservices. Following this, we presented different container runtime environments and introduced Docker. The fundamental concepts of Docker containers were covered, including Docker Engine, client, image, and container terminology. Following the theoretical background, we built Docker images and stored them in registries. Finally, we ran Docker containers by sharing volumes and ports from host systems. At the end of the chapter, we used Docker containers to create a stateful popular MySQL database and a WordPress blog in order to show how multiple containers can work in harmony.

Docker concepts and operational knowledge was discussed throughout the chapter, and we will be revisiting this in the following chapter on Kubernetes. Since Docker is the default container runtime for Kubernetes, it is crucial to have fundamental knowledge of Docker and some practical hands-on experience, as covered in this chapter.

主站蜘蛛池模板: 成都市| 巴林左旗| 山丹县| 邵阳县| 正宁县| 克东县| 安图县| 上高县| 平舆县| 揭阳市| 正安县| 连山| 四平市| 金坛市| 建湖县| 大余县| 大余县| 柳林县| 法库县| 锡林浩特市| 建始县| 合阳县| 阳西县| 郯城县| 平乡县| 湄潭县| 四子王旗| 望谟县| 石门县| 浮山县| 黔江区| 东光县| 邓州市| 广宁县| 任丘市| 黎川县| 旌德县| 札达县| 含山县| 腾冲县| 广西|