4 ms·
That's only one way of looking at containers. Another way is to see them as a modularization tool since they abstract most of the machine away while being much
by slaymaker1907 6y ago
That's only one way of looking at containers. Another way is to see them as a modularization tool since they abstract most of the machine away while being much lighter weight than a VM.
I've recently been looking into containerizing my personal server. I use the cheapest VM on AWS (I work on Azure now, but vendor lock in is real). Adding another VM would double my costs, but with containers I would more isolation and can upgrade sites I run on this server independently.
I usually use sqlite, but I can see why containers would be nice for similar reasons. Even if you aren't resource constrained with VMs, running a DB via containers might be nice to ensure a consistent dev setup even if you don't use containers in prod.
- jasonpeacock 6y agoI do this using Lightsail to run my personal blogs, each blog is running in its own container w/sqlite mounted from a local for persistence (too lazy to do actual Docker volumes). Ditto for Nginx, it's also containerized. It's a great setup b/c I can also deploy the containers locally (and SCP the sqlite DB locally) to run the blogs on my laptop if I need to.