I want to know what docker-compose is going to do before I do it.
Is there a tool or flag which I can use to see what docker-compose would do without actually stopping containers and starting new ones?
A dry run for docker-compose
seems to be an open feature request.
docker compose alpha dry-run -- [CMD ...]
(As of compose v2.16.0, with more support / bug fixes in newer versions)