Open conchincradle opened 1 year ago
docker run --name tomcat -p 8080:8080 -v $PWD/data/tomcat:/usr/local/tomcat/webapps/ -d tomcat java -jar /usr/local/tomcat/webapps/douyin-like-api.jar
主要问题就是 port: 8080 address: 0.0.0.0 这里的地址还是写0.0.0.0
docker pull tomcat:8-jdk8-openjdk
docker run --name tomcat -p 8080:8080 -v $PWD/data/tomcat:/usr/local/tomcat/webapps/ -d tomcat java -jar /usr/local/tomcat/webapps/douyin-like-api.jar