Not sure but I think OP is conflating docker compose with docker swarm. Compose to me is just a simple way to define a set of containers and their startup parameters.
I will say that compose does go a slight step beyond startup parameters - it bundles networking up and says that containers can talk to other containers under certain circumstances.
So it’s not quite a simple specification. It’s capable of some quite strange, interesting and possibly esoteric things.
So it’s not quite a simple specification. It’s capable of some quite strange, interesting and possibly esoteric things.