I have built my docker java webapp image by adding war file to webapps folder of docker official tomcat image which is my base image in the dockerfile. I tested one small application and ran image. I can see pages in my web browser. But when i built another image by adding different war file. When i ran the image i can see tomcat running and in manager app i can see my project. But my jsp pages are not showing. I know there is something going wrong. Normally i check tomcat logs for error. But here my tomcat is running inside a docker container. When i run locate tomcat i saw its running inside this location.
/var/lib/docker/aufs/diff/c87241d8699b97e33dd37d3472cf87e3d289eaa479362dd77e4e6b9b5a767a98/usr/local/tomcat/
If i go inside and check logs, nothing registered. How can i check logs or where i can see errors are logged in docker? I need suggestions because i am not able to proceed further because of this issue.