How do you guys, who run Docker in production deal with managing nftables firewall on hosts running containers? By design docker daemon creates and manages a set of firewall rules to forward traffic between containers and ingress traffic into containers as well as masquarades the outgoing container traffic. That is all well until admin needs to alter hosts firewall to allow and deny other traffic unrelated to docker…
Should I run plain Docker Compose in production in 2026?
71–80 of 312 posts
Re: Should I run plain Docker Compose in production in 2026?
#72How do you guys, who run Docker in production deal with managing nftables firewall on hosts running containers? By design docker daemon creates and manages a set of firewall rules to forward traffic between containers and ingress traffic into containers as well as masquarades the outgoing container traffic. That is all well until admin needs to alter hosts firewall to allow and deny other traffic unrelated to docker…
Re: Should I run plain Docker Compose in production in 2026?
#73Earlier quoted context omitted.
Is your point that we shouldn't motivate our technological choices? I wouldn't use Docker Compose in production.
I wouldn't use Docker in production.
Docker also commonly refers to Docker _images_ or Docker-esque container setups
Re: Should I run plain Docker Compose in production in 2026?
#74How do you guys, who run Docker in production deal with managing nftables firewall on hosts running containers? By design docker daemon creates and manages a set of firewall rules to forward traffic between containers and ingress traffic into containers as well as masquarades the outgoing container traffic. That is all well until admin needs to alter hosts firewall to allow and deny other traffic unrelated to docker…
On my docker hosts there is no other traffic unrelated to docker. Everything goes in containers.
Re: Should I run plain Docker Compose in production in 2026?
#75Could i survive with 10 seconds of downtime, probably, but I'd really like if I could avoid it.
Re: Should I run plain Docker Compose in production in 2026?
#76I like running docker compose for my simple needs because it consolidates pretty much all the config in one declarative file, and docker manages 'everything'. By now I know how to handle the handful of caveats listed in this article. Beyond what's listed there, I'd also give a mention to the way port publishing works (the fact that it ignores firewalls), as that's something that still trips people up if they don't kn…
Re: Should I run plain Docker Compose in production in 2026?
#77Re: Should I run plain Docker Compose in production in 2026?
#78Somewhat adjacent in how I look at using Docker at all in prod, here's what I always wonder: Is using Docker/Compose "just" as the layer for installing & managing runtime environment and services correct? Especially for languages like PHP? I.e. am I holding it wrong if I run my "build" processes (npm, composer, etc) on the server at deploy time same as I would without containers? In that sense Docker Composer becomes…
Also adds moving parts to your deploy which increases risk/introduces more failure modes.
Couple things that come to mind
- disk space exhaustion during build
- I/o exhaustion esp with package managers that have lots of small files (npm)
However, on the small/hobby end I don't think it's a huge concern.
Re: Should I run plain Docker Compose in production in 2026?
#79Re: Should I run plain Docker Compose in production in 2026?
#80Kubernetes sounds like overkill, but I've been running microk8s for few standalone servers. This feels a pretty good match when working with agents. Codex can manage the cluster also over ssh, schedule new pods, check statuses, logs etc.
Haven't used it in a while but this thing is also interesting--it supports a bunch of different ways to spin up k8s https://github.com/tilt-dev/ctlptl