A Developer's Essential Guide to Docker Compose: Simplify the development and orchestration of multi-container applications

Gkatziouras, Emmanouil

  • 出版商: Packt Publishing
  • 出版日期: 2022-10-07
  • 售價: $1,300
  • 貴賓價: 9.5$1,235
  • 語言: 英文
  • 頁數: 264
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1803234369
  • ISBN-13: 9781803234366
  • 相關分類: Docker
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Start defining your infrastructure using Docker Compose and leverage it for everyday development or deployment


Key Features:

  • Distribute your code in an easier way for developers to get started
  • Set up complex infrastructure for development and CI/CD purposes
  • Deploy simple multi-container applications using Docker Compose


Book Description:

Software development is becoming increasingly complex due to the various software components used. Applications need to be packaged with software components to facilitate their operations, making it complicated to run them. With Docker Compose, a single command can set up your application and the needed dependencies.

This book starts with an overview of Docker Compose and its usage and then shows how to create an application. You will also get to grips with the fundamentals of Docker volumes and network, along with Compose commands, their purpose, and use cases. Next, you will set up databases for daily usage using Compose and, leveraging Docker networking, you will establish communication between microservices. You will also run entire stacks locally on Compose, simulate production environments, and enhance CI/CD jobs using Docker Compose. Later chapters will show you how to benefit from Docker Compose for production deployments, provision infrastructure on public clouds such as AWS and Azure, and wrap up with Compose deployments on said infrastructure.

By the end of this book, you will have learned how to effectively utilize Docker Compose for day-to-day development.


What You Will Learn:

  • Create multi-container applications using Docker Compose
  • Use Docker Compose for daily development
  • Connect microservices leveraging Docker network fundamentals
  • Add monitoring to services leveraging Prometheus
  • Deploy to production using Docker Compose
  • Translate Compose files to Kubernetes deployments


Who this book is for:

This book is for software engineers, developer advocates, and DevOps engineers looking to set up multi-container Docker applications using Compose without the need to set up a Docker orchestration engine. It is also for team leads looking to increase the productivity of an organization's software teams by streamlining the provisioning of complex development environments locally using Docker Compose. Readers are expected to understand containerization and must possess fundamental Docker knowledge to get started with this book.

商品描述(中文翻譯)

開始使用Docker Compose定義您的基礎架構,並在日常開發或部署中充分利用它。

主要特點:
- 更容易分發代碼,方便開發人員入門
- 為開發和CI/CD目的設置複雜的基礎架構
- 使用Docker Compose部署簡單的多容器應用程式

書籍描述:
由於使用了各種軟體組件,軟體開發變得越來越複雜。應用程式需要與軟體組件一起打包以便於操作,這使得運行它們變得復雜。使用Docker Compose,一個命令就可以設置應用程式及所需的依賴項。

本書首先概述了Docker Compose及其使用方法,然後展示了如何創建應用程式。您還將瞭解Docker卷和網路的基礎知識,以及Compose命令、其目的和用例。接下來,您將使用Compose為日常使用設置數據庫,並利用Docker網路在微服務之間建立通信。您還將在Compose上本地運行整個堆疊,模擬生產環境,並使用Docker Compose增強CI/CD工作。後面的章節將向您展示如何在生產部署中受益於Docker Compose,在AWS和Azure等公共雲上提供基礎架構,並以Compose部署結束。

通過閱讀本書,您將學習如何有效地利用Docker Compose進行日常開發。

學到的內容:
- 使用Docker Compose創建多容器應用程式
- 在日常開發中使用Docker Compose
- 利用Docker網路基礎知識連接微服務
- 使用Prometheus對服務進行監控
- 使用Docker Compose部署到生產環境
- 將Compose文件轉換為Kubernetes部署

本書適合軟體工程師、開發者倡導者和DevOps工程師,他們希望使用Compose設置多容器Docker應用程式,而無需設置Docker編排引擎。對於希望通過使用Docker Compose在本地簡化複雜開發環境的設置以提高組織軟體團隊生產力的團隊負責人來說,本書也很適合。讀者需要了解容器化並具備基本的Docker知識才能開始閱讀本書。