@inthehands No, you're getting it. The correct way to use docker in production is: don't.
Docker is a reasonably useful dev tool. Docker compose, even more so. But it's wildly unsuited to production usage. If you want just a few containers on a relatively small and fixed number of hosts, podman or just containerd are better. If you want a lot of containers on a changing number of hosts, that's why people use k8s.