docker get containers logs code example
Example 1: docker log tail
docker logs -f --tail 10 container_name
Example 2: docker active log
docker logs -f container-id
docker logs -f --tail 10 container_name
docker logs -f container-id