- Hands-On Docker for Microservices with Python
- Jaime Buelta
- 129字
- 2021-06-24 12:35:54
Operating with an immutable container
Docker commands such as the ones seen earlier in this chapter are the foundation, where it all starts. But, when dealing with more than one, it starts getting complicated to handle them. You've seen that some commands can get quite long.
To operate with a container in a clustered operation, we will use docker-compose. This is Docker's own orchestration tool for defining multi-container operations. It gets defined by a YAML file with all the different tasks and services, each with enough context to build and run it.
It allows you to store the different services and parameters for each of them in this configuration file, called docker-compose.yaml by default. This allows you to coordinate them and generate a replicable cluster of services.
推薦閱讀
- 6G潛在關鍵技術(下冊)
- Cisco OSPF命令與配置手冊
- INSTANT PhpStorm Starter
- 新一代物聯網架構技術:分層算力網絡
- 物聯網關鍵技術及應用
- Metasploit Penetration Testing Cookbook
- Microsoft Dynamics CRM 2011 Applications(MB2-868) Certification Guide
- SAE原理與網絡規劃
- 移動互聯網新思維
- 物聯網,So Easy!
- 物聯網概論
- 互聯網心理學:新心理與行為研究的興起
- Twilio Cookbook(Second Edition)
- 從實踐中學習Kali Linux網絡掃描
- Learning IoT with Particle Photon and Electron