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 容器的退出状态码为137,无法响应中止信号 #1910

Closed
2 tasks done
manjieqi opened this issue Apr 22, 2024 · 2 comments
Closed
2 tasks done

Docker 容器的退出状态码为137,无法响应中止信号 #1910

manjieqi opened this issue Apr 22, 2024 · 2 comments

Comments

@manjieqi
Copy link

前置确认

  • 我确认我运行的是最新版本的代码,并且安装了所需的依赖,在FAQS中也未找到类似问题。

⚠️ 搜索issues中是否已存在类似问题

  • 我已经搜索过issues和disscussions,没有跟我遇到的问题相关的issue

操作系统类型?

Docker

运行的python版本是?

python 3.7

使用的chatgpt-on-wechat版本是?

Latest Release

运行的channel类型是?

wechatmp(公众号, 订阅号)

复现步骤 🕹

使用docker compose文件启动容器,使用docker stop停止或者重启系统或者docker compose down,cow都是被kill的

问题描述 😯

4499cb8b85e6 zhayujie/chatgpt-on-wechat "/entrypoint.sh" 2 days ago Exited (137) 6 seconds ago cow

终端日志 📒

<此处粘贴终端日志>
@manjieqi manjieqi changed the title Docker 容器的退出状态码137,无法响应中止信号 Docker 容器的退出状态码为137,无法响应中止信号 Apr 22, 2024
@6vision 6vision closed this as completed May 23, 2024
@6vision
Copy link
Collaborator

6vision commented May 23, 2024

还有问题的话,可以提供更多log信息

@manjieqi
Copy link
Author

啊,这个退出问题就是在compose down的时候需要等10秒,说明容器在接受关闭信号以后没有在10秒内自己关闭,而是被强制关闭的。

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

2 participants