Fetch the logs of a container
docker logs [OPTIONS] CONTAINER
The docker logs command batch-retrieves logs present at the time of execution.
The docker logs –follow command will continue streaming the new output from the container’s STDOUT and STDERR.
docker logs --follow CONTAINER