Reading Logs

Using Docker, applications print to the console as opposed to a .log file.

To view all logs for a running container: $docker container logs [container name]

If you want to continuously update the log, run the same command with the -f flag like so:

$docker container logs -f [container name]

You can alwayts stop following with ctrl+c.

 

I finished! On to the next chapter