- Download 6
- File Size 2.88 MB
- File Count 1
- Create Date October 12, 2020
- Last Updated May 23, 2021
Python Tutorial | Docker Tutorial | Practical Docker with Python
Practical Docker with Python - Build, Release and Distribute your Python App with Docker
Docker has exploded in popularity and has become the de facto target as a containerization image format as well as a containerization runtime. With modern applications getting more and more complicated, the increased focus on microservices has led to the adoption of Docker, as it allows for applications along with their dependencies to be packaged into a file as a container that can run on any system. This allows for faster turnaround times in application deployment and less complexity and it negates the chances of the “it-works-on-my-server-but-not-on-yours” problem.
Practical Docker with Python covers the fundamentals of containerization, gets you acquainted with Docker, breaks down terminology like Dockerfile and Docker Volumes, and takes you on a guided tour of building a chatbot using Python. You’ll learn how to package a traditional application as a Docker Image.
This book is divided into seven chapters—we start the first chapter with a brief introduction to Docker and containerization. We then take a 101 class of Docker, including installing, configuring, and understanding some Docker jargon. In Chapter 3, we take a look at our project and look at how to configure our chatbot. In Chapters 4 to 6, we dive into the meat of Docker, focusing on Dockerfiles, Docker Networks, and Docker Volumes. These chapters include practical exercises on how to incorporate each of these into the project. Finally, we take a look at Docker Compose and see how we can run multi-container applications.