docker compose logs --since 10m web

Category: Docker

docker compose logs --since 10m web

Show service logs from the last 10 minutes

Restricts output to log lines newer than the given duration, useful right after an incident. Accepts values like 30s, 10m, or 2h. Combine with --follow to stream from that point forward.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.