Docker Tutorial For Beginners - How To Containerize Python Applications

preview_player
Показать описание
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 ~~~~~~~~~~~~~~

Get my Free NumPy Handbook:

📓 ML Notebooks available on Patreon:

If you enjoyed this video, please subscribe to the channel:

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

Resources:

Movies Web Scraping Tutorial:

FastAPI Tutorial:

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

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

#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! 🙏
Рекомендации по теме
Комментарии
Автор

Can't say thank you enough. Articulate Straight-forward, logical explanations! Great job.

krjnqfq
Автор

I think this is the best explanation for Docker. Other You-tubers wasted 2 hours to explain stupidity. This was the best hands-on-experience. You understand the working architecture directly by interacting with containers. Cheers #Python Engineer

ancient_living
Автор

Excellent tutorial on Dockerizing Python application. Please do another tutorial on Kubernetes too.

BiranchiNarayanNayak
Автор

Dude. I have been STRUGGLING for 3 days trying download a file from a website using Playwright. Thanks to this tutorial I’m able to download my file into my container. Thank you so much for this amazing tutorial.

azr
Автор

Thank you, I've watched so many videos and this is the only one so far that has almost made docker make sense for me. I'm an apprentice for context and a very inexperienced programmer so it has been a nightmare trying to find information I can understand. Thanks!

dylan
Автор

Give this man medal already!!!🤙
Like his videos so the algorithm promotes his videos!!
The topic you cover is top notch

panostheodoropoulos
Автор

I was struggling to find a good resource to learn Docker. Your tutorial helped a lot. Thank you.

DebabrotBhuyan
Автор

Been looking at over 10 youtube videos for an introduction to Docker and this video provides the best explanations by far

mdjmnki
Автор

@Python Engineer with this content 100k subs will come soon real quick!

sikkavilla
Автор

"FROM python:3.8" gave me an error... but "FROM python:3.8-slim-buster" works.
EXCELLENT tutorial, thanks!

Julian-tfnj
Автор

Kudos to you for the FAST API part... you should maybe include it in the title ;) It would bring me here much faster. Danke shon!

Gadgetoholic
Автор

I am getting started in using Docker and your tutorial was really helpful. Well explained, straight to the point with easy decomposed steps to follow ! Thank you for your work !

thibautrichert
Автор

Thank you, this video clarified all manner of questions I had while deploying my FastAPI as Docker container on Raspberry Pi 4. This video of yours is a gem! Thank you so much for getting this knowledge out.

sanjaybhatikar
Автор

this is awesome, i scrolled around more tahn an hour and finally got the jackpot thank you

sabchillhai
Автор

22:16mins of my life definetly not wasted. Thx a lot !

JeremLeOuf
Автор

Thanks for an awesome tutorial. For first time in recent memory, I was able to follow the video step-by-step, reproduce it, and get a running docker.
Yes there were some configuration issues with my Python installation. More issues with VS code linter complaining about missing packages: random, and requests. But those were Python and VS Code issues, not Docker issues. I know enough about Python and VS Code, that with Google searches I was able to resolve those issues and continue with the tutorial.

babarbaig
Автор

Went through tons of documentation and youtube videos then finally found your video. Thanks a lot, Patrick. You just saved me. Awesome video. Keep up the excellent work.😇

hriteshharichandan
Автор

just one of the best videos I´ve seen about how to use docker out there. A pice of gold

jjdiaz
Автор

OH MY GOOOOD BROO YOU'RE LITERALLY SAVING A LOT OF LIVES RIGHT NOW! I WILL START A PROTEST THAT YOU SHOULD WIN AN AWARD ON YOUTUBE FOR HAVING THIS TUTORIAL FOR FREE!

GelsYT
Автор

This is the most straight forward docker tutorial I have ever seen.
Kudos. You just earned my subscription

kingsleyihemere