View Docker Container Logs
You can access the logs of your docker container by using the name or the id of the container and using the logs command.
First find the container name or id with docker ps:
Then you can show all logs since a particular date and time:
You can get a straming output of the logs with the -f flag or –follow
You can also combine the logs with a search, for example to find errors:
Read more about it here