-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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部署失败 #21
Comments
需要确认 容器是否正常运行 |
容器一直在重启,docker logs -f看不到日志,只有大大的reader... |
volumes:
磁盘映射改一下,然后再重启,再在logs目录找一下日志文件看看 |
This comment was marked as resolved.
This comment was marked as resolved.
你的docker版本多少?是什么架构的? |
Client: Server: |
加tg群问问群友吧,或者换个镜像试试,这个问题我这边没法复现 |
(删容器,重新部署,然后机子reboot就好了,但如果之后机子要是reboot之后就又回到这个问题,所以就要重新弄一遍。) |
启动的时候netty框架检查可用的cpu核心,结果cpu核心为0,不知道这是docker的问题,还是java的问题 |
这个问题我大前天遇到的。重新部署然后机器reboot就可以了,但之后机器reboot的话又会变回这样,这就很神奇 |
我的已经好了,应该是之前的镜像有问题,更新某一版本就好了
|
果然重启之后又不行了 |
我这也是这种情况,我是在lxc下的alpine模板部署的docker |
我怀疑是lxc的问题,我是lxc的ubuntu,部署在甲骨文的没问题 |
我找到解决方案了,看这里: itzg/docker-minecraft-server#466 (comment) |
应该就是在lxc中,jvm不知为啥拿不到cpu核心数 |
实测,在
springboot就正常跑起来了
|
ok,感谢各位大佬 |
系统是ubuntu20.04,访问9021端口显示拒绝访问
The text was updated successfully, but these errors were encountered: