Docker sq
Docker Fundamentals - Container Lifecycle

Using Logfiles

Mute
Current Time 0:00
/
Duration Time 0:00
Loaded: 0%
Progress: 0%
Stream TypeLIVE
Remaining Time -0:00
 
PRO

Using Logfiles

You may not wish to use the examples from the previous video to re-route your output. Another option is to link the application's output file to /dev/stdout by inserting the following command into your Dockerfile:

RUN rm [output path] && ln -s /dev/stdout [output path]
 

I finished! On to the next chapter