docker compose logs -f servicename

Category: Self-Hosting

docker compose logs -f servicename

Follow live logs from a single named service in the Compose stack

Streams logs from just one service in the stack. Use this when you know which container is misbehaving.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.