I'm using ubuntu and I have installed Docker and started my first tutorial using Tomcat.
I made a docker file named Dockerfile
that contains
FROM tomcat:7-jre7
MAINTAINER "Craig Trim <[email protected]>"
Then I build the image using
sudo docker build -t craig/tomcat .
and finally I started Tomcat:
sudo docker run -p 8080:8080 craig/tomcat
Now in the console, it shows that Tomcat is installed somewhere in /usr/local/tomcat
4-Nov-2016 10:36:57.031 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory /usr/local/tomcat/webapps/host-manager
But when I go there I did not find the folder tomcat
. Where to find that folder, so that I can configure some files?
docker logs <container id>
? – Oleneolenka