Dependency management scales horrible, venv and pyenv are supposed solutions to this by segregating the dependencies to a virtual terminal environment, but dont actually solve the original issue, you have to figure out potentially massive dependency trees yourself
Docker is not a cannon ball? a normal Linux process started with special kernel settings (namespaces + cgroups + mounts). The runtime that glued them together is very small. For the cost and unification it’s worth to use.
You can emulate an entire effing system or just save your packages in a .venv file. Docker is a lot more than this simplification you described and is absolutely a cannon ball just to run some python.
It is? What else would it be? There’s some runtime which acts as a glue, but other than that they’re just native Linux processes which are grouped so that they are isolated from other processes on your system. There’s no overhead, no emulation (unless you force architecture).
430
u/No_Window663 Mar 21 '26
Dependency management scales horrible, venv and pyenv are supposed solutions to this by segregating the dependencies to a virtual terminal environment, but dont actually solve the original issue, you have to figure out potentially massive dependency trees yourself