see docker container logs code example
Example 1: docker tail logs
docker logs -f --tail 100 container-name
Example 2: docker active log
docker logs -f container-id
docker logs -f --tail 100 container-name
docker logs -f container-id