Docker and CI/CD · Junior · Question 70 of 75
How do you follow logs from all services in a Compose project?
- 1
docker logs --compose - ✓Correct answer:
docker compose logs -f - 3
docker compose tail --all
Explanation
Output is interleaved and prefixed with the service name. Add a service name to see just one.