docker compose logs --tail=50 web

Category: Docker

docker compose logs --tail=50 web

Show the last 50 lines from a specific service

Shows only the last 50 log lines from a service.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.