Practical Docker with Python : Build, Release, and Distribute Your Python App with Docker - Sathyajith Bhat

Practical Docker with Python

Build, Release, and Distribute Your Python App with Docker

By: Sathyajith Bhat

Paperback | 28 November 2021 | Edition Number 2

At a Glance

Paperback


$150.75

or 4 interest-free payments of $37.69 with

 or 

Ships in 5 to 10 business days

Chapter 1:  Introduction to Containerization & DockerChapter Goal: Brief intro into containerization, how they compare to virtual machines, Intro to Docker and getting the reader ready for the practical aspects of the bookNo of pages Sub -Topics1. What are containers2. Containers vs Virtual machines3. Introduction to Docker4. Container runtimes (OCI, CRI-O, containerd)
Chapter 2:  Docker 101Chapter Goal: Getting started with Docker, running a sample containerNo of pages:Sub - Topics:  1. Installing Docker (including changes for installing Docker for Windows using the WSL2 engine)2. Checking if Docker is ready3. Docker client4. Understanding Jargon around Docker (including Docker Registries, Repositories, tags)5. Running/stopping/ connecting a docker container6. Dockerfile brief7. Practical: Running a simple container, hands-on some common Docker commands
Chapter 3: Building the Python AppChapter Goal: Getting to understand the project, APIs involved, pre-requisitesNo of pages:Sub - Topics: 1. Project description (delivering latest content from Reddit to Telegram messenger)2. Setting up the Python workspace (installing the required libraries, setting up virtualenv)3. Creating a Telegram bot 4. Running the Python application and confirming bot works
Chapter 4: Understanding DockerfileChapter Goal: Getting to know Dockerfile, the different constructs and conceptsNo of pages:Sub - Topics: 1. Dockerfile, dockerignore2. Base image & using them with "from ..."3. RUN/CMD/Environment variables4. How and why to tag Docker images5. Why to avoid the 'latest' tag6. Practical: Modifying sample Dockerfile to run our Project
Chapter 5: Understanding Docker VolumesChapter Goal: Containers are meant for stateless applications. Chapter explains steps needed to persist data  1. Problem of stateful applications in containers2. Docker volumes3. Practical: Show how data in containers is lost when container is killed and how Docker volumes avoid this4. Practical: Modifying our project Dockerfile to add Docker volumes
Chapter 6: Docker Networking
Chapter Goal: Overview of Docker networking, linking containers1. Docker bridged network2. User defined networks3. Practical: Create a Database container and link it with our project application server container
Chapter 7: Multi Container Applications Chapter Goal: Building multi-container applications with Docker compose1. A look at Docker-compose versus docker compose2. Docker Compose file reference3. Linking/establishing dependencies across containers4. Environment variables across linked containers5. Practical: Moving our project from separate linked containers to Docker Compose project
Chapter 8: Preparing for Production Deployments1. What is orchestration and why do we need orchestration2. Setting up CI with GitHub Actions to build a new image on every commit3. Tips to setup your production Docker hosts and containers4. Deploying your container image to Kubernetes 


More in Programming & Scripting Languages

Introduction to Programming Languages - Gordon Hurley
The Practical Guide : The Practical Guide - Kerem Koseoglu
The C Programming Language : Prentice Hall Software - Dennis Ritchie

RRP $107.04

$75.75

29%
OFF
Coding For Dummies, All New Edition : For Dummies (Computer/Tech) - Paul McFedries
Python All-in-One For Dummies : 3rd Edition - John C. Shovic

RRP $74.95

$55.75

26%
OFF
Python & AI For Dummies - John C. Shovic

RRP $57.95

$44.75

23%
OFF
Python Cookbook : Recipes for Mastering Python : 3rd Edition - David Beazley
Learning Python 6th Edition : Powerful Object-Oriented Programming - Mark Lutz
PHP, MySQL, & JavaScript All-In-One For Dummies : For Dummies - Richard Blum
C++ How to Program, Global Edition : 10th Edition - Paul Deitel

RRP $167.95

$133.75

20%
OFF
Problem Solving and Program Design in C, Global Edition : 8th Edition - Jeri Hanly
The C++ Programming Language - Bjarne Stroustrup

RRP $117.91

$89.99

24%
OFF
Learning Go : An Idiomatic Approach to Real-World Go Programming - Jon Bodner
Fundamentals of Python : 3rd Edition - First Programs - Kenneth Lambert