What does `docker compose config` do?
BeginnerConceptDocker Compose
Answer
It validates and prints the fully resolved configuration after merging files, interpolating variables and applying profiles. Use it in CI to catch YAML errors and to see the final result of overrides.
More on Docker Compose
What is Docker Compose and what problem does it solve?Beginner`docker-compose` vs `docker compose`?BeginnerShow a minimal Compose file with a web app and a database.BeginnerWhat does `depends_on` guarantee?IntermediateHow do containers in Compose reach each other?BeginnerHow does Compose choose the project name and why does it matter?Intermediate