how to see logs for docker containers live code example Example: docker tail logs docker logs -f --tail 100 container-name