docker run with logs 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
Example 3: docker active log
docker logs -f container-id
Example 4: docker exec logs
docker logs --follow