2 ms·
no. oversimplifying here, but.. virtualenvs are just overrides to environment variables that change where things should look to find the python interpreter, li
by mh- 13y ago
no. oversimplifying here, but..
virtualenvs are just overrides to environment variables that change where things should look to find the python interpreter, libraries, modules, et al.
docker is much more involved, using LXC to force process isolation, an effective chroot, networking restrictions, etc.
many (most?) folks' current usage of virtualenv would not be portable to docker without substantive work to accomodate the restrictions that docker imposes.
(note: this isn't a critique of docker; those things are features. they're just orthogonal to this)