one-api 请帮忙解决一下docker容器的3000端口无法启动的问题,

hlswsv35  于 4个月前  发布在  Docker
关注(0)|答案(3)|浏览(72)

docker容器无法启动,按照issue给方法加了--privileged参数启动,容器里面的3000端口起不来,进容器运行/one-api报main.go record not found
怎么让容器里面的端口起起来?
docker 版本20.10.9

ozxc1zmp

ozxc1zmp1#

提供一下完成的报错哈

flseospp

flseospp2#

提供一下完成的报错哈

[SYS] 2024/02/19 -08:58:51 One API v.5.12-alpha.3 started
[SYS] 2024/02/19-08:58:51 SQL_DsN not set,using sqLite as database
[SYS] 2024/02/19-08:58:51 database migration started
2024/02/19 08:58:51 near ")":syntax error
near[0.009ms] [rows:0] INSERT INTO user_stemp()' SELECT FROM users`
[FATAL] 2024/02/19-08:58:51 | [failed to initialize database: near ")":syntax error]

0kjbasz6

0kjbasz63#

操作系统是红帽7.5

相关问题