Manuals / Docker for QA / Ch 2

A · Hands-onBeginner40 min read

2. Compose a test stack

Docker for QA · 16 pages source format

docker compose up should be the onboarding sentence for your test env.

What you'll learn

  • compose.yml
  • Ports & healthchecks
  • Logs

Bring something up

Use a sample stack (web + db) or your team’s compose file.

Do this now

compose up, hit a health endpoint, compose down.

Pro tip. Read logs before restarting blindly.

Clear?

Checklist