Hello everyone, I am new to Docker. I have a question here and hope I can get some help.
I have a spring boot project with slf4j logging API for logging. In my logback.xml, I configured so that a log file app.log should be generated in c:\tmp on-fly.
When I run this project from IntelliJ or command line, I can see the log file app.log is generated successfully in c:\tmp. Then, I built a docker image for this project. I ran the docker image with this command: $docker run -p 8080:8080 -t myProject
The image also runs very well, but I can no longer see app.log in c:\tmp. Does anybody know how to log into a log file with docker? Thank you very much!