3 ms·
Always use containers! Any big project should be sandboxed, having completely isolated environment, dependencies, and you have all installation steps well descr
by novaRom 3y ago
Always use containers! Any big project should be sandboxed, having completely isolated environment, dependencies, and you have all installation steps well described and reproducible. Containers in Linux are lightweight citizens and using them is absolutely necessary to avoid any dependency hell and broken or trashed system. Plus, you can simply distribute them.
- jackdh 3y agoFrom the article... >> You should really use docker > I think you missed the whole point.
- dagw 3y agoAlways use containers! Even for short scripts I write? A unique container for every script? How do I go about calling one script in one container from a script in a different container. Containers in Linux are lightweight Much of the world isn't running Linux. Deploying a single project you have developed, targeting a single OS and CPU arch, onto a server that you have complete control over is the easiest case and not really where most problems show up. The hard problem is being able to email a script I wrote to a colleague and have it run on their machine.
- bryancoxwell 3y agoI think you’re right. I also think that’s a big problem for python as a language. For a lot of use cases just choosing a different language from the jump that allows you to easily compile a standalone executable can make life so, so much easier.