Waits until selected services stop and returns their exit codes.
Section: Inspection and Cleanup
Wait for services to stop
bash
bash
docker compose waitExplanation
Useful in automation and test pipelines.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Inspection and Cleanup
Render normalized config
Merges files, interpolates variables, and prints the final Compose model.
List compose projects
Lists active and recent Compose projects on the host.