Containerize Python Applications with Docker

preview_player
Показать описание
In this video, we learn how to containerize Python applications using Docker. This is a key skill in the industry.

◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾◾
📚 Programming Books & Merch 📚

🌐 Social Media & Contact 🌐

Рекомендации по теме
Комментарии
Автор

For the second Dockerfile you showed in this video (18:25) I just wanted to mention that in general it's better practice to have RUN pip install directly after COPY requirements.txt and before COPY ./src

This is because of the way docker caches build layers. As soon as any change happens, all subsequent commands will also need to be rerun. The way you had it, if you changed any files in the ./src directory, then when you build the pip install command would also be run again. However by changing it how I mentioned, the pip install will be cached and only get rerun if you change the requirements.txt

In this example it wasn't a big deal, but if your project has a huge number of dependencies then this can save a lot of time during the build process.

amatera
Автор

Wow, this was a great intro video!
I heard about the Docker x100 times, but never knew what was its purpose. Now I understand the whole concept.

Thanks!

HitAndMissLab
Автор

Thanks! Was learning Python and now a bonus with Docker!

johnraz
Автор

Super helpful! First time using Dockers and thank you so much for your amazing videos and they are great tutorials

hyakushiki
Автор

Really good presentation straight to the point and presenting something really usefull in an easy way!
Thanks

ParanoidNotAndroid
Автор

Thank you! You explained it simple and clearly

yahnnoshyunggo
Автор

so simple... I had thought that to put your web app to docker is much harde. Thanks for your explanation

Akonitx
Автор

Amazing!!! Thanks for always sharing your knowledge!

HersonMelo
Автор

thank you. defo easy to follow and understand, finally..

djeros
Автор

You are the GOAT 🐐 of the best python tutorial!!

michaelmebratu
Автор

would be great to know what to do next in case you want to run the docker in a raspeberry, or aws or another remote place.. how do you get it from your machine.. options? : upload/download from the docker hub, move manually, etc..

cesarp
Автор

Nice video! Pls make video about kubernetes :)

cezarycodes
Автор

can i docker a python project with yolov8 ? Also how can i return the frame
that shows car video detection and counter

GrigoriKog
Автор

Do you need to client.close() inside the while loop or outside? Why?
If we want it to work on both Linux and Windows, do we need to write \r\n instead of just \n?

juanete
Автор

Why are you using square brackets in your CMD docker file command and not for RUN command?

rmatveev
Автор

Sadly I have a very cheep acer laptop that in all circumstances would be able to suport virtualization except if acer wasn't garbage and blocked jt from the bios with no option to ever activate it... Acer aspire E15... sometimes I get really angry when I see a new skill that I could be learning but am stuck by my hardware

gabrielmartins
Автор

10:01 -- the cmd prompt is hanging after the docker build command, any possible reasons???

ramya
Автор

Nice. Thanks for sharing the knowledge!!!

quidelicia
Автор

thank you. i just finished a 5 hours docker course that covers A to Z of docker features but didn't even give a case study like this 🥲

danielniels
Автор

Bro can you please make a tut on how to make our own port forwarder server

Daystarjn