how to get docker logs for recent run 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