4 ms·
In my case, I think Docker voids the need for virtualenv. But a quick google search returns interesting results [1] I do know setting up a proper user in Docke
by ericol 6y ago
In my case, I think Docker voids the need for virtualenv. But a quick google search returns interesting results [1]
I do know setting up a proper user in Docker is just a couple lines away in a Dockerfile (As a matter of fact, I did that for the main app I develop).
For my other use cases, I just don't care. I'm using Docker to quickly bootstrap a Jupyter Labs environment, and I do that by sharing some confs (Like the Pip cache folder).
The caveat to this is that files I create are owned by root, but that again is just a command away for fixing (If I need it, that haven't yet).
[1] https://stackoverflow.com/questions/27017715/does-virtualenv-serve-a-purpose-in-production-when-using-docker https://stackoverflow.com/questions/27017715/does-virtualenv...