view dcoker logs live code example
Example 1: docker container logs
docker container logs --details container-id
Example 2: docker active log
docker logs -f container-id
docker container logs --details container-id
docker logs -f container-id