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

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.

主站蜘蛛池模板: 宁津县| 璧山县| 礼泉县| 即墨市| 高阳县| 湖州市| 汉川市| 唐海县| 木里| 洛南县| 丰台区| 普格县| 灵台县| 久治县| 南汇区| 隆子县| 仙游县| 宜川县| 镇平县| 通渭县| 濮阳市| 霞浦县| 策勒县| 建湖县| 平罗县| 邹平县| 河南省| 柳州市| 安阳市| 佛坪县| 雷山县| 连平县| 财经| 葵青区| 高清| 德保县| 麻栗坡县| 孝义市| 平度市| 涟水县| 工布江达县|