docker-compose view log output code example
Example 1: docker tail logs
docker logs -f --tail 100 container-name
Example 2: linux get docker compose logs
docker-compose logs -t -f --tail <no of lines>
docker logs -f --tail 100 container-name
docker-compose logs -t -f --tail <no of lines>