Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose cat 容器启动 服务无法访问 #2359

Open
Shaun2016 opened this issue Jan 12, 2025 · 2 comments
Open

docker-compose cat 容器启动 服务无法访问 #2359

Shaun2016 opened this issue Jan 12, 2025 · 2 comments

Comments

@Shaun2016
Copy link

Describe the bug
docker-compose 本地运行,容器启动,无法访问 8080 端口

进入容器,访问 /data/appdatas/cat 目录,没有日志

docker logs -f 容器id,依旧没有日志

应该怎么看日志排查问题呀

@Shaun2016
Copy link
Author

Shaun2016 commented Jan 12, 2025

bash-4.4# /bin/sh ./datasources.sh && catalina.sh run
Using CATALINA_BASE: /usr/local/tomcat
Using CATALINA_HOME: /usr/local/tomcat
Using CATALINA_TMPDIR: /usr/local/tomcat/temp
Using JRE_HOME: /usr/lib/jvm/java-1.8-openjdk/jre
Using CLASSPATH: /usr/local/tomcat/bin/bootstrap.jar:/usr/local/tomcat/bin/tomcat-juli.jar
在容器内部执行命令后阻塞

netstat -tuln | grep 8080 未查到进程

感觉是镜像不支持 linux/arm64/v8

@Shaun2016
Copy link
Author

这里还有人吗

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant