how to log in docker code example Example: get log from a docker machine docker logs <container_id> --tail N