get log from docker container code example Example: docker tail logs docker logs -f --tail 100 container-name