Docker Tutorial For Beginners - How To Containerize Python Applications

Published: 14 November 2020
on channel: Patrick Loeber
338,230
6.7k

In this Docker Tutorial I show how to get started with Docker for your Python Scripts and Python Web Apps. We look at two different projects and build Docker Containers for a Python script and for a web application using FastAPI (works the same for Flask). This also demonstrates how to dockerize a virtual environment.

~~~~~~~~~~~~~~ GREAT PLUGINS FOR YOUR CODE EDITOR ~~~~~~~~~~~~~~
✅ Write cleaner code with Sourcery: https://sourcery.ai/?utm_source=youtu... *

Get my Free NumPy Handbook:
https://www.python-engineer.com/numpy...

⭐ Join Our Discord :   / discord  

📓 ML Notebooks available on Patreon:
  / patrickloeber  

If you enjoyed this video, please subscribe to the channel:
▶️ :    / @patloeber  

Timestamps:
00:00 - Introduction
02:42 - Example 1: Python Scripts
09:14 - Example 2: Web App

Resources:
https://www.docker.com/
https://fastapi.tiangolo.com/

Movies Web Scraping Tutorial:
   • Select Movies with Python - Web Scrap...  

FastAPI Tutorial:
   • FastAPI Introduction - Build Your Fir...  

~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

🖥️ Website: https://www.python-engineer.com
🐦 Twitter -   / patloeber  
✉️ Newsletter - https://www.python-engineer.com/newsl...
📸 Instagram -   / patloeber  
🦾 Discord:   / discord  
▶️ Subscribe:    / @patloeber  

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅿 Patreon -   / patrickloeber  

Music: https://www.bensound.com/

#Python #docker

----------------------------------------------------------------------------------------------------------
This is a sponsored or an affiliate link. By clicking on it you will not have any additional costs, instead you will support me and my project. Thank you so much for the support! 🙏