How to Create a Great Local Python Development Environment with Docker

preview_player
Показать описание
Are you ready to take your Python development to the next level with Docker?

In this YouTube video, Patrick Loeber shows you how to create an amazing local Python development environment using Docker. He starts by introducing the many benefits of using Docker, including its ability to isolate environments, add multiple services, deploy to the cloud, and test out different Python versions. Then, Patrick takes you on a step-by-step journey through the process of setting up a Docker environment. You'll learn how to write an app, use volumes to transfer files between the container and the system, set up an IDE inside the container, and use Docker compose to simplify the process.

Plus, Patrick shows you how to add more services and debug Python code inside a container.

--

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

Brilliant video. Very well structured and presented. Solves pretty much all the complaints I had with my existing setup. Thanks and keep up the good work!

harkinrb
Автор

This was awesome Patrick. Just what I needed.

aar
Автор

Thanks for the detailed explanation. I was wondering earlier how dockers really helps for development. This explains perfectly.

nirmal_kumar
Автор

Hey Patrick, really nice tutorial. Thank you for sharing!

margramiof
Автор

Really awesome explanation . Most of the docker videos I watched where geared towards node, react and other web dev frameworks. I am mostly working with python so this was a great watch and informational.

qmcsboi
Автор

Thank you for a great video. Well structured, detailed and informative.
I will implement it for sure.

jrrtolkin
Автор

Well-structured and pretty detailed video!!

cfpygny
Автор

I just love you! You helped me so much with this!

OpenDeepLearning
Автор

Very useful. Thanks a lot for sharing this.

samre
Автор

This video rocks!! Very nicely said and organised

Alexander-pktu
Автор

I found this video useful. Thanks! I would suggest to add video chapter for easy navigation.

zhenxuanjameszhang
Автор

brilliant tutorial! thank you

I have a question.. I’m confused with how to debug worker command inside docer container, when it possible to run in bash console only?

I’m going to be glad hearing your answer)

igorlikholat
Автор

I used to use the xdebug extension in vscode ide for php, did you used the same does debugpy need it own extension?

alqods
Автор

Thanks for interesting approach using IDE inside a container. Could you explain why you do not use --watch to volume to update code immediately after change on host's mapped volume? What benefits to edit with VSCode in the container instead of the local host filesystem?

AlexeyR
Автор

This was helpful but I tried to create a more generic data science image but just could not get it to work as not container was ever running for me to attach to.

FrocketGaming
Автор

Is it possible to run Spyder IDE within Docker in Ubuntu and access GPUs? I have not seen resources that explain how to enable this.

JJGhostHunters
Автор

I have a noob question, why we want to setup a dev environment in a docker?

cxrgmrd
Автор

excellent tutorial, many thanks!
tip: if you run into issue that the service is not available (localhost:80) the port might be used by another application. Simply change '-80:80' to '-8000:80' in docker-compose.yaml to use port 8000..

tomhas
Автор

Thanks for the video!
So does it mean that each time you make the commit of that file you have to remove that line.

dmytroparfeniuk
Автор

fastapi still not found in local even after attaching a running container

Dwdummies