how to check docker logs for a container code example
Example 1: docker tail logs
docker logs -f --tail 100 container-name
Example 2: docker container logs
docker container logs --details container-id
docker logs -f --tail 100 container-name
docker container logs --details container-id