title: How to remove ROOT folder from a Docker Container running Tomcat base image
body: <p>I want to know whether if there is any method to remove the ROOT folder within the tomcat /webapps folder after its being deployed by a Docker image. </p>
  
  <p>The reason that I want to achieve this is  that I want to run my .war file as the root. I have already renamed my war file as ROOT.war. But when I run my Docker image with the tomcat base image, a ROOT folder is also created by default within the container's tomcat/webapps folder which doesn't allow me to access my ROOT.war file as the root.</p>
  
  <p><strong>My Dockerfile</strong></p>
  
  <pre><code># Pull base image
  FROM tomcat:8.0.30-jre7
  
  # Copy to images tomcat path
  COPY /ROOT.war /usr/local/tomcat/webapps/
  </code></pre>