This scenario will explore the different ways you can handle logging output from your application and services when running as containers.
Managing Log Files
Step 1 - Docker Logs
When you start a container, Docker will track the Standard Out and Standard Error outputs from the process and make them available via the client.
In the background, there is an instance of Redis running with the name redis-server. Using the Docker client, we can access the standard out and standard error outputs using
docker logs redis-server