HN.zip

Should I Run Plain Docker Compose in Production in 2026?

52 points by pmig - 27 comments
jpalomaki [3 hidden]5 mins ago
Kubernetes 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.
2ndorderthought [3 hidden]5 mins ago
Should you have a turkey sandwich for lunch in 2026? I don't know buddy just do whatever. There are ten thousand other sandwiches you could eat surely, but does turkey sound good for you?
poly2it [3 hidden]5 mins ago
Is your point that we shouldn't motivate our technological choices? I wouldn't use Docker Compose in production.
jagged-chisel [3 hidden]5 mins ago
I also would not eat a turkey sandwich for lunch on a Tuesday.

*shudder*

2ndorderthought [3 hidden]5 mins ago
Yes. I clearly believe we should not motivate choices in technology.
noodlesUK [3 hidden]5 mins ago
I think many of these issues are also solved by Podman and systemd depending on what kind of "production" you're building for. If you're building a linux-y appliance and you need to run a few containers I think Podman is a much better and more ergonomic way of doing so. I think perhaps that's less true for running a web service (where the linux environment is just a means to that end).
pmig [3 hidden]5 mins ago
What are the benefits of running Podman Compose instead of Docker Compose? I don't see how it helps with orphan containers, logs and mutable tags.
madspindel [3 hidden]5 mins ago
philipallstar [3 hidden]5 mins ago
Is there a nice guide for podman that includes quadlets (or saying not to use them?) I find lots of guides stray into things that work on redhat, and on my Linuxes of choice, Raspbian and Ubuntu, things aren't straightforward.
exceptione [3 hidden]5 mins ago
Can't comment on Raspbian, but Ubuntu LTS (has/had) a seriously outdated podman version. This is the kind of nuisance the Debian derivatives have been running into for more than 20 years: they are extremely conservative, and if that is all you need, then that is great, but if not, you'll have to either run the latest Ubuntu (not LTS), or you upgrade to something like fedora.
mr_mitm [3 hidden]5 mins ago
In many cases, Debian unstable is also a good choice.
jiggunjer [3 hidden]5 mins ago
Is there no upstream package repo like docker has.
fabian2k [3 hidden]5 mins ago
My experience with docker-compose is a bit outdated, but my impression some years ago was that it was too sensitive and fragile. I encountered bugs or incompatibilities that broke the docker-compose setup often enough to be forced to pin the specific docker and docker-compose versions.

And the error handling was terrible. Most of these problems resulted in a Python stack trace in some docker-compose internals instead of a readable error message. Googling the stack trace usually lead to a description of the actual problem, but that's really not something that inspires confidence.

meander_water [3 hidden]5 mins ago
Surprised they didn't mention docker compose secrets - https://docs.docker.com/reference/compose-file/secrets/
pmig [3 hidden]5 mins ago
To be honest I never really understood the benefit of Docker (Compose) Secrets - which a different from Swarm Secrets. Imho there just plain host mounted volumes, which are hidden from inspect commands?
_nhh [3 hidden]5 mins ago
Yes. It's perfectly fine.
philipallstar [3 hidden]5 mins ago
Very cool article. Wish it didn't have silly AI-isms:

> This is the shape Distr lands on

Cthulhu_ [3 hidden]5 mins ago
It's an AI company, it's kind of expected at this point - who would take an AI company seriously if they don't use AI themselves?
dewey [3 hidden]5 mins ago
Why do you say it's an AI company? It seems like their business is "Distribute your application to self-managed customers" not especially AI focused.
hnlmorg [3 hidden]5 mins ago
Every company these days are AI companies. Even the ones you’d least expect. https://www.bbc.com/news/articles/c98mrepzgj7o
dewey [3 hidden]5 mins ago
Sure, but you wouldn't just say "Oh they are a Postgres" company because they use that specific database somewhere in the stack.
Eldt [3 hidden]5 mins ago
Only in certain bubbles, which certain people have trouble realising they're in
dwedge [3 hidden]5 mins ago
They said they help deployments for "software companies and AI companies" which I thought was an interesting distinction
dewey [3 hidden]5 mins ago
That's just different customer personas for marketing reasons, just like Vercel has "Build and deploy on the AI Cloud" as their main tag line on the landing page. It doesn't mean they are an "AI company".
TheChaplain [3 hidden]5 mins ago
TIL about limiting logs. Very useful, I had no idea.
ksk23 [3 hidden]5 mins ago
Yes and no :)
28304283409234 [3 hidden]5 mins ago
hahah came here to say: "It depends."