Back to LabsDocker Compose UpMedium
Docker
👥 30 users⏱ 25 min200 points
Use Docker Compose to launch a multi-container application.
Instructions
- Write a docker-compose.yml for a web app and database.
- Start the services with Docker Compose.
- 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!