Skip to main content
  • Book
  • © 2018

Practical Docker with Python

Build, Release and Distribute your Python App with Docker

Apress

Authors:

  • Features a single Python-Docker project throughout the book for hands-on learning

  • Covers Multi-container applications with Docker Compose

  • Includes Data Persistence using Docker Volumes

Buy it now

Buying options

eBook USD 6.99 USD 29.99
Discount applied Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, access via your institution.

Table of contents (7 chapters)

  1. Front Matter

    Pages i-xv
  2. Introduction to Containerization

    • Sathyajith Bhat
    Pages 1-8
  3. Docker 101

    • Sathyajith Bhat
    Pages 9-38
  4. Building the Python App

    • Sathyajith Bhat
    Pages 39-51
  5. Understanding the Dockerfile

    • Sathyajith Bhat
    Pages 53-89
  6. Understanding Docker Volumes

    • Sathyajith Bhat
    Pages 91-118
  7. Understanding Docker Networks

    • Sathyajith Bhat
    Pages 119-150
  8. Understanding Docker Compose

    • Sathyajith Bhat
    Pages 151-182
  9. Back Matter

    Pages 183-186

About this book

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





Keywords

  • docker
  • python
  • devops
  • containers
  • build
  • release
  • deploy
  • volumes
  • compose

Authors and Affiliations

  • Bangalore, India

    Sathyajith Bhat

About the author

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.

Bibliographic Information

Buy it now

Buying options

eBook USD 6.99 USD 29.99
Discount applied Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Other ways to access