Practical Docker with Python: Build, Release and Distribute your Python App with Docker
暫譯: 實用的 Docker 與 Python:使用 Docker 建立、發佈和分發你的 Python 應用程式

Sathyajith Bhat

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

相關主題

商品描述

Learn the key differences between containers and virtual machines. Adopting a project based approach, this book introduces you to a simple Python application to be developed and containerized with Docker.

 
After an introduction to Containers and Docker you'll be guided through Docker installation and configuration.  You'll also learn basic functions and commands used in Docker by running a simple container using Docker commands. 
 
The book then moves on to developing a Python based Messaging Bot using required libraries and virtual environment where you'll add Docker Volumes to your project, ensuring your container data is safe. 
You'll create a database container and link your project to it and finally, bring up the Bot-associated database all at once with Docker Compose. 
 
What You'll Learn
  • Build, run, and distribute Docker containers
  • Develop a Python App and containerize it
  • Use Dockerfile to run the Python App
  • Define and run multi-container applications with Docker Compose 
  • Work with persisting data generated by and used by Docker containers
Who This Book Is For
 
Intermediate developers/DevOps practitioners who are looking to improve their build and release workflow by containerizing applications
 

商品描述(中文翻譯)

學習容器和虛擬機之間的主要差異。本書採用專案導向的方法,介紹一個簡單的 Python 應用程式,並使用 Docker 進行容器化。

在介紹容器和 Docker 之後,您將獲得 Docker 的安裝和配置指導。您還將通過運行一個簡單的容器來學習 Docker 中使用的基本功能和命令。

接著,本書將進一步開發一個基於 Python 的消息機器人,使用所需的庫和虛擬環境,您將在專案中添加 Docker 卷,以確保容器中的數據安全。

您將創建一個數據庫容器並將專案與其連接,最後,使用 Docker Compose 一次性啟動與機器人相關的數據庫。

**您將學到的內容**

- 建立、運行和分發 Docker 容器
- 開發一個 Python 應用程式並進行容器化
- 使用 Dockerfile 運行 Python 應用程式
- 使用 Docker Compose 定義和運行多容器應用程式
- 處理由 Docker 容器生成和使用的持久數據

**本書適合誰閱讀**

中級開發人員/DevOps 實踐者,尋求通過容器化應用程式來改善其構建和發布工作流程。