Intermediate
Docker & Containers
Q79 / 100
Why might you use "docker-compose config" before running "docker-compose up"?
Correct! Well done.
Incorrect.
The correct answer is B) It validates and resolves the final merged Compose configuration (including variable substitution and merged override files), helping catch syntax errors or misconfigurations before starting containers
B
Correct Answer
It validates and resolves the final merged Compose configuration (including variable substitution and merged override files), helping catch syntax errors or misconfigurations before starting containers
Explanation
"docker-compose config" prints the fully resolved configuration (after merging files and substituting variables), useful for debugging what Compose will actually apply.
Progress
79/100