openatx/atxserver2

使用docker无法部署?

PikachuCN opened this issue · 2 comments

在win和lunix 直接docker-compose up
都会出现无法部署
windows是找不到数据库

rethinkdb_1 | error: Error in src/serializer/log/log_serializer.cc at line 81:
rethinkdb_1 | error: Could not rename database file /data/rethinkdb_data/tmp/metadata.create to permanent location /data/rethinkdb_data/metadata (Device or resource busy)
rethinkdb_1 | error: Backtrace:
rethinkdb_1 | error: Sat Mar 7 12:47:36 2020
lunix是

ERROR: for atxserver2_web_1 Cannot start service web: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "scripts/wait-for-db.sh": permission denied": unknown

ERROR: for web Cannot start service web: OCI runtime create failed: container_linux.go:346: starting container process caused "exec: "scripts/wait-for-db.sh": permission denied": unknown

Alt Text

Windows我现在没有机器可以测试。
Linux上的处理方法倒是很简单。就是 chmod +x scripts/wait-for-db.sh 然后在 docker-compose up

chmod +x scripts/wait-for-db.sh 添加了权限还是报错
image