Practice this fail.
The YAML is over there.
Docker · Restart as often as you like
Read the error, choose a command, and learn
why it works. Nothing runs on your machine.
Use ./deploy/compose.prod.yaml instead of the default filename. Validate its model quietly; do not start services.
The YAML is over there.
$ docker compose config -q
no configuration file provided
How do you validate the explicit Compose file?
Fixed. By hand.
docker compose -f ./deploy/compose.prod.yaml config --quietThe Compose -f option selects the configuration file. config --quiet resolves and validates it without printing the model or starting services.
Practice does not affect your daily score or streak.