Back to Labs
Docker Compose UpMedium
Docker
👥 30 users25 min200 points

Use Docker Compose to launch a multi-container application.

Instructions

  1. Write a docker-compose.yml for a web app and database.
  2. Start the services with Docker Compose.
  3. Verify both containers are running and can communicate.

Prerequisites

  • Docker basics
  • docker-compose installed

Hints

  • Use 'docker-compose up -d' to start services.
  • Check logs with 'docker-compose logs'.
  • Use 'docker-compose ps' to see running containers.

Try it yourself!