• 场景:centos7.2 docker 安装 tomcat8

tomcat 首页 404_centos

 

  •  问题:访问 tomcat 首页显示 404

 

 tomcat 首页 404_centos_02

 

  • 进入容器 tomcat webapps 目录,发现里面什么都没有。问题找到就好解决了,把 webapps.dist 里面的 ROOT 挪到 webapps 目录里即可。

 tomcat 首页 404_docker_03