How to Run and Debug Python Inside Docker Containers Using VSCode
codevev codevev
1.5K subscribers
54,082 views
0

 Published On Apr 25, 2021

You don't need to have Python installed on your system in order to run it. Replace Python with almost any other language and keep your computer free from all the things you need to have installed in order to start developing software!
Version collisions are in the past. Create a docker image for each of your projects that you're working on and you will not have to spend hours or days fixing a local environment because you upgraded a package that broke everything.
In this video, I will show you a couple of ways to run Python in a Docker container, and in the end, we will set up VSCode (Visual Studio Code), so you could run and debug your code inside a container without leaving VSCode!

Timeline:
0:00 Why do you want to run code inside a container
0:45 How to run Python in Docker using an interactive terminal
3:00 Create a Docker file to create an image and run your Python code using docker commands
6:10 How to connect Visual Studio Code to a Docker container to run Python code

#SoftwareEngineering #Python #Docker
-------------------------------------------------------------------------------------
đź“° Sign up for my newsletter
Become a better dev in just 5 minutes (or so) a week: https://codevev.com

🖥️ Free Courses to Learn Programming
Harvard CS 50: https://pll.harvard.edu/course/cs50-i...
FreeCodeCamp: https://www.freecodecamp.org
Udacity: https://www.udacity.com

đź›’ Products I recommend
https://codevev.com/#products

Connect with me
Website: https://codevev.com
Youtube:    / @codevev  

#codevev

Connect with me
Website: https://evgenyurubkov.com
Youtube:    / @codevev  

#codevev

show more

Share/Embed