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

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.

主站蜘蛛池模板: 灵台县| 蓬安县| 哈尔滨市| 咸丰县| 富民县| 永年县| 吕梁市| 通河县| 磐石市| 大同县| 沁源县| 旅游| 苏尼特右旗| 方城县| 南汇区| 望奎县| 固安县| 罗江县| 许昌市| 济阳县| 旬邑县| 湘阴县| 柏乡县| 眉山市| 繁峙县| 博罗县| 广平县| 大城县| 蕲春县| 中阳县| 奉化市| 山阳县| 白山市| 雅江县| 刚察县| 贵德县| 灵台县| 金阳县| 康马县| 浮山县| 景宁|