docker logs --tail 100 myapp

Category: Docker

docker logs --tail 100 myapp

Show only the last 100 log lines from a container

Shows only the last 100 lines of container logs.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.