docker logs follow
snippet in c

docker tail logs

user5729

docker logs -f --tail 100 container-name

docker log tail

user7486

docker logs -f --tail 10 container_name

docker container logs

user2566

docker container logs --details container-id

docker logs follow

user521

docker logs --follow [container name]