How to tail docker logs

Assuming you wanted to watch the latest 100 log entries of a docker container, you can run the following command:

docker logs --tail 100 --follow docker-container-id