Docker container can only to daemon mode: I run catalina.sh
to start the tomcat.
But the problem is my log will not appear in catalina.out
.
I can look at `docker logs , but this certainly cannot run in a production environment.
I would like to ask how, in production environment, can I have the Tomcat log stored in the document and without the container stopping?