Open in app
Mohammad Ahmad
1.2K Followers
About

Sign in

1.2K Followers
About
Open in app
Why not use a virtual python environment?
106
4

Marius Pierenkemper

Mohammad Ahmad

Mohammad Ahmad

Aug 14, 2020·1 min read

Docker is more preferred to venv if you're working in production mode: that is, if you're moving projects between servers. So with venv, you're stuck with the same OS that you coded on, except with Docker, your container contains all the information you need. Docker is almost like a step closer to a virtual machine.

Written by

Mohammad Ahmad

AI and ML.

More from Mohammad Ahmad

AI and ML.

More From Medium

Sustainable Data Science: The Carbon Cost of Coffee Cups

Mohammad Ahmad in The Startup

f-Strings in Python3 for Data Scientists

Mohammad Ahmad in Towards Data Science

5 Tricks To Boost Your Data Science Results

Mohammad Ahmad in Towards Data Science

Automate Your Data Science Life for Free on Heroku

Mohammad Ahmad in Towards AI

Data Science Helps Sustainability in These 6 Awesome Ways

Mohammad Ahmad in The Startup

6 Key Commands To Get Started With Python’s Beautiful Soup for Data Scientists

Mohammad Ahmad in Towards Data Science

4 Top AI/ML Github Repositories in November 2020

Mohammad Ahmad in Towards Data Science

Top Python Github Repos Jan 2021 for Data Scientists

Mohammad Ahmad in Towards Data Science

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store