DEV Community

Discussion on: Do you use Docker or Virtualenv for Python?

Collapse
 
smeeklai profile image
smeeklai • Edited

I use both conda env and Docker on daily basis. Because I deploy an application in form a container on the cloud, I usually don't trust to run the app on my laptop even I spawn a newly fresh env, instead, I run it with docker-compose and mouth the file system to my laptop in order to make sure that everything would exactly be the same way when it's deployed.

Collapse
 
rosejcday profile image
Rose Day

Interesting, I just started learning to use docker-compose instead of just having a Dockerfile.