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 run 无法启动的问题 #482

Closed
5 tasks
Frank-yzd opened this issue Aug 30, 2023 · 2 comments
Closed
5 tasks

docker run 无法启动的问题 #482

Frank-yzd opened this issue Aug 30, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@Frank-yzd
Copy link

例行检查
docker logs -f a5df55426876
runtime/cgo: pthread_create failed: Operation not permitted
SIGABRT: abort
PC=0xd6fefb m=0 sigcode=18446744073709551610

goroutine 0 [idle]:
runtime: g 0: unknown pc 0xd6fefb
stack: frame={sp:0x7fffba2725c0, fp:0x0} stack=[0x7fffb9a73a40,0x7fffba272a50)
/usr/local/go/src/runtime/asm_amd64.s:474 +0x8 fp=0xc000052740 sp=0xc000052730 pc=0x46b0e8
runtime.main()
/usr/local/go/src/runtime/proc.go:169 +0x6d fp=0xc0000527e0 sp=0xc000052740 pc=0x43d68d
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc0000527e8 sp=0xc0000527e0 pc=0x46d0c1
[//]: # (方框内删除已有的空格,填 x 号)

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我已完整查看过项目 README,尤其是常见问题部分
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

复现步骤

预期结果

解决方式
官网提供添加一个--privileged=true
部署命令:docker run --name one-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api

docker run --privileged=true --name one-api -d --restart always -p 3000:3000 -e TZ=Asia/Shanghai -v /home/ubuntu/data/one-api:/data justsong/one-api

如果没有的话,请删除此节。

@Frank-yzd Frank-yzd added the bug Something isn't working label Aug 30, 2023
@songquanpeng
Copy link
Owner

方便的话可以提 PR 修改文档,如果不方便我可以自己改一下。

songquanpeng added a commit that referenced this issue Sep 3, 2023
ChongzhengZhao pushed a commit to ChongzhengZhao/llm-one-api that referenced this issue Sep 11, 2023
ChongzhengZhao pushed a commit to ChongzhengZhao/llm-one-api that referenced this issue Sep 11, 2023
pcstx pushed a commit to pcstx/one-api that referenced this issue Sep 20, 2023
pcstx pushed a commit to pcstx/one-api that referenced this issue Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants
@songquanpeng @Frank-yzd and others