Practical Docker with Python: Build, Release, and Distribute Your Python App with Docker (Paperback)
暫譯: 實用 Docker 與 Python:使用 Docker 建立、發佈及分發您的 Python 應用程式 (平裝本)

Sathyajith Bhat

  • 出版商: Apress
  • 出版日期: 2021-11-28
  • 售價: $2,470
  • 貴賓價: 9.5$2,347
  • 語言: 英文
  • 頁數: 260
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1484278143
  • ISBN-13: 9781484278147
  • 相關分類: DockerPython程式語言
  • 海外代購書籍(需單獨結帳)

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

商品描述

Learn the fundamentals of containerization and get acquainted with Docker. This second edition builds upon the foundation of the first book by revising all the chapters, updating the commands, code, and examples to meet the changes in Docker. It also introduces a new chapter on setting up your application for production deployment and breaks down terminologies like Dockerfile and Docker volumes while taking you on a guided tour of building a telegram bot using Python.
You'll start with a brief history of how containerization has changed over the years. Next, we look at how to install (including using the new WSL2 mode) and get started with Docker. The next couple of chapters will focus on understanding the Dockerfile, including the structure and the core instructions used in building a Docker image. You'll also see how to distribute Docker images using Docker hub and other private registries. From there, you'll look at using Docker volumes for persisting data. Then learn how to run multi-container applications with Docker compose and learn inter-container networking works with Docker networks. Finally, you'll look at how to prepare a containerized application for production deployments. 
Throughout the book you'll apply the techniques learned through the chapters by building a Telegram messenger Chatbot and see how much easier Docker makes it possible to build, release, contribute and distribute an application. In addition, the book shows how optimize the Docker images for production servers by using multi-stage builds and improve the reliability of your services by using health checks and restart policies. Practical Docker with Python will break down terminologies like Dockerfile and Docker volumes, and take you on a guided tour of building a telegram bot using Python. 
What You'll Learn

  • Compare the difference between containerization and virtualization
  • Understand the Dockerfile and converting your application to Docker image
  • Define and run multi-container applications with Docker compose
  • Review data persistency with Docker volumes

Who This Book Is For
Beginner and intermediate developers, DevOps practitioners who are looking improving their build and release workflow by containerizing applications as well as system administrators learning to implement DevOps principles.

商品描述(中文翻譯)

學習容器化的基本原理並熟悉 Docker。本書第二版在第一版的基礎上進行了修訂,更新了所有章節、命令、代碼和範例,以符合 Docker 的變化。它還新增了一章,介紹如何為生產環境部署設置應用程序,並詳細解釋了 Dockerfile 和 Docker 卷等術語,同時帶您參觀如何使用 Python 建立 Telegram 機器人。

您將從容器化如何隨著時間變化的簡要歷史開始。接下來,我們將探討如何安裝(包括使用新的 WSL2 模式)並開始使用 Docker。接下來的幾章將重點介紹 Dockerfile 的理解,包括結構和用於構建 Docker 映像的核心指令。您還將看到如何使用 Docker hub 和其他私有註冊表來分發 Docker 映像。然後,您將學習如何使用 Docker 卷來持久化數據。接著學習如何使用 Docker compose 運行多容器應用程序,並了解 Docker 網絡如何實現容器間的網絡連接。最後,您將學習如何為生產部署準備容器化應用程序。

在整本書中,您將通過構建一個 Telegram Messenger 聊天機器人來應用所學的技術,並看到 Docker 如何使構建、發布、貢獻和分發應用程序變得更加容易。此外,本書還展示了如何通過使用多階段構建來優化生產伺服器的 Docker 映像,並通過使用健康檢查和重啟策略來提高服務的可靠性。使用 Python 的實用 Docker將詳細解釋 Dockerfile 和 Docker 卷等術語,並帶您參觀如何使用 Python 建立 Telegram 機器人。

您將學到什麼


  • 比較容器化和虛擬化之間的差異

  • 理解 Dockerfile 並將您的應用程序轉換為 Docker 映像

  • 定義並運行使用 Docker compose 的多容器應用程序

  • 回顧使用 Docker 卷的數據持久性

本書適合誰

初學者和中級開發人員、希望通過容器化應用程序來改善其構建和發布工作流程的 DevOps 實踐者,以及學習實施 DevOps 原則的系統管理員。

作者簡介

Sathyajith Bhat is a seasoned DevOps/SRE professional currently working as a DevOps Engineer on Adobe I/O, which is Adobe’s developer ecosystem and community. Prior to this, he was the lead Ops/SRE at Styletag.com. He transitioned to Ops/SRE after being a lead analyst at CGI, working primarily on Oracle Fusion stack (Oracle DB/PL/SQL/Oracle Forms and other related middleware) designing, architecting, and implementing complete end-to-end solutions for a major insurance provider in the Nordics.

 

In his free time, Sathya is part of the Barcamp Bangalore planning team, handling DevOps and Social Media for BCB. He is also a volunteer Community Moderator at Super User and Web Apps Stack Exchange, keeps the servers for Indian Video Gamer forums up and running, and was previously a Moderator for Chip-India and Tech 2 forums.

作者簡介(中文翻譯)

Sathyajith Bhat 是一位資深的 DevOps/SRE 專業人士,目前擔任 Adobe I/O 的 DevOps 工程師,該平台是 Adobe 的開發者生態系統和社群。在此之前,他是 Styletag.com 的首席 Ops/SRE。他在 CGI 擔任首席分析師後轉型為 Ops/SRE,主要負責 Oracle Fusion 技術堆疊(Oracle DB/PL/SQL/Oracle Forms 及其他相關中介軟體),為北歐的一家主要保險提供商設計、架構和實施完整的端到端解決方案。

在空閒時間,Sathya 是 Barcamp Bangalore 規劃團隊的一員,負責 BCB 的 DevOps 和社交媒體。他也是 Super User 和 Web Apps Stack Exchange 的志願社群版主,維護印度視頻遊戲論壇的伺服器運行,並曾擔任 Chip-India 和 Tech 2 論壇的版主。