how print out docker stderr logs code example
Example 1: docker active log
docker logs -f container-id
Example 2: get log from a docker machine
docker logs <container_id> --tail N
docker logs -f container-id
docker logs <container_id> --tail N