Practical Docker with Python: Build, Release and Distribute your Python App with Docker
Sathyajith Bhat
- 出版商: Apress
- 出版日期: 2018-07-27
- 定價: $1,380
- 售價: 8.0 折 $1,104
- 語言: 英文
- 頁數: 204
- 裝訂: Paperback
- ISBN: 1484237838
- ISBN-13: 9781484237830
-
相關分類:
Docker、Python、程式語言
-
相關翻譯:
Python Docker 實戰 (Practical Docker with Python: Build, Release and Distribute your Python App with Docker) (簡中版)
立即出貨 (庫存 < 3)
買這商品的人也買了...
相關主題
商品描述
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命令來學習Docker的基本功能和命令,並運行一個簡單的容器。
本書隨後介紹了使用所需庫和虛擬環境開發基於Python的消息機器人,並在項目中添加Docker卷,以確保容器數據的安全性。
您將創建一個數據庫容器並將其與項目鏈接,最後使用Docker Compose一次性啟動與機器人相關的數據庫。
您將學習以下內容:
- 構建、運行和分發Docker容器
- 開發Python應用程序並將其容器化
- 使用Dockerfile運行Python應用程序
- 使用Docker Compose定義和運行多容器應用程序
- 處理由Docker容器生成和使用的持久數據
本書適合中級開發人員/DevOps從業者,他們希望通過容器化應用程序來改進其構建和發布工作流程。