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

  • Docker for Developers
  • Richard Bullington McGuire Andrew K. Dennis Michael Schwartz
  • 167字
  • 2021-06-11 18:15:24

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.

主站蜘蛛池模板: 白山市| 五指山市| 滦南县| 高淳县| 贺兰县| 任丘市| 辽中县| 乐昌市| 太白县| 嘉善县| 雷波县| 万盛区| 宣恩县| 日土县| 丹巴县| 灵山县| 阿拉善盟| 衡山县| 阿尔山市| 枣强县| 河间市| 民和| 枝江市| 泰宁县| 瑞安市| 大同市| 四会市| 罗平县| 启东市| 瓮安县| 泰州市| 灵璧县| 扎赉特旗| 桃源县| 资中县| 达孜县| 马山县| 德化县| 赤水市| 南部县| 邹平县|