Last Updated: February 25, 2016
·
16K
· satblip

Limit the number of lines in docker log

docker logs --tail 10 <container-id>

Where 10 is the number of lines at the end that you want to see.