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

Summary

In this chapter, we learned how to break up an application that would normally be run in a virtual machine with multiple services (MongoDB, Redis, and Mosca) into a microservices-based architecture run as containers within Docker.

We learned how to navigate the Docker Hub website and find useful pre-made Docker containers that you simply download and run.

We also learned how to package our own microservices as Docker containers and how we can push them to Docker Hub for the public or development team members to use.

Several containers were used to launch the complete application as microservices communicated through ports mapped to the host's ports. This is not ideal, especially if you already have a WWW server running on port 80; Mosca uses port 80, too.

In the next chapter, we will discuss how we can use the Docker Compose tool to design complete microservice architecture applications and run them so that they have a private internal network and so host ports are not required.

主站蜘蛛池模板: 宝兴县| 常宁市| 新野县| 高清| 商河县| 尼勒克县| 望江县| 襄城县| 宝兴县| 西青区| 新昌县| 衢州市| 大连市| 白城市| 和林格尔县| 浏阳市| 万宁市| 赣榆县| 如皋市| 万全县| 侯马市| 盐边县| 方正县| 阿坝县| 漳浦县| 时尚| 理塘县| 昔阳县| 新津县| 夏津县| 开远市| 凤庆县| 博客| 玉屏| 三明市| 常宁市| 龙山县| 雅江县| 垫江县| 宝丰县| 龙门县|