I have a strange issue, I'm deploying my java web service by creating docker image and running the docker on amazon EC2, When I try to access tomcat I'm getting this error
However when I try to access web-service running on Tomcat it's accessible
Can Someone explain me this strange behavior and how I can resolve this ?
My docker-compose file is here
version: '2'
services:
nlp-server:
image: nlp-docker-image
ports:
- 8080:8080
答案 0 :(得分:0)
我用于tomcat的Docker镜像正在执行命令
rm -rf /usr/local/tomcat/webapps/examples && \
rm -rf /usr/local/tomcat/webapps/docs && \
rm -rf /usr/local/tomcat/webapps/ROOT
由于删除了默认网页,我没有在端口8080上获取索引页