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 无法部署 #7566

Open
qokelate opened this issue Nov 12, 2023 · 1 comment
Open

docker 无法部署 #7566

qokelate opened this issue Nov 12, 2023 · 1 comment

Comments

@qokelate
Copy link

用文字描述你遇到的问题

服务起不来

重现方法

docker run --rm --name=cmdb -d -p 8081:8090 ccr.ccs.tencentyun.com/bk.io/cmdb-standalone:latest

logs --v=3 --regdiscv=127.0.0.1:2181 --enable-auth=false
process count should be: 12 , now: 14
./run.sh: line 27: ./init_db.sh: Permission denied
@xie-cluster
Copy link

进入容器目录:/data/cmdb/cmdb_adminserver
执行:chmod +x init_db.sh 给脚本添加可执行权限,重新commit一个镜像即可解决。

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