Practical Docker with Python: Build, Release, and Distribute Your Python App with Docker (Paperback)

Sathyajith Bhat

  • 出版商: Apress
  • 出版日期: 2021-11-28
  • 售價: $2,000
  • 貴賓價: 9.5$1,900
  • 語言: 英文
  • 頁數: 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構建電報機器人的導覽。

您將從容器化多年來的變化簡史開始。接下來,我們將介紹如何安裝Docker(包括使用新的WSL2模式)並開始使用它。接下來的幾章將重點介紹Dockerfile,包括構建Docker映像所使用的結構和核心指令。您還將了解如何使用Docker Hub和其他私有註冊表分發Docker映像。從那裡,您將學習如何使用Docker卷來持久保存數據。然後,學習如何使用Docker Compose運行多容器應用程序,以及如何使用Docker網絡實現容器間的網絡連接。最後,您將學習如何為生產部署準備容器化應用程序。

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

《使用Python實踐Docker》將解釋Dockerfile和Docker卷等術語,並帶領您進行使用Python構建電報機器人的導覽。

您將學到什麼

- 比較容器化和虛擬化的差異
- 理解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的開發者生態系統和社群Adobe I/O擔任DevOps工程師。在此之前,他曾是Styletag.com的主要運營/ SRE負責人。在成為主要分析師之前,他在CGI擔任主要分析師,主要在Oracle Fusion堆棧(Oracle DB / PL / SQL / Oracle Forms和其他相關中間件)上設計、架構和實施完整的端到端解決方案,為北歐一家主要保險提供商工作。

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