Run a Multi-Container App¶
When to Use This Guide¶
Use this guide to start every service in a Compose file with a single command.
Step 1: Start the Stack¶
Run this from the folder containing your compose.yaml.
upcreates and starts every service-druns them in the background
Add --build to rebuild your images first.
Step 2: Check the Services¶
Every service should show as running.
Step 3: View the Logs¶
See the combined output of all services.
Follow them live with docker compose logs -f.
Common Issues¶
"docker compose: command not found"
Some older installs use the hyphenated docker-compose. Try that, or update Docker.
A service keeps restarting
Check its logs with docker compose logs SERVICE_NAME to see the error.