-
Notifications
You must be signed in to change notification settings - Fork 71
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启动的时候这个错误解决不了 #31
Comments
@zhangcjl 是什么系统? |
@zhangcjl add docker-compose privileged: true 试试 |
系统是ubuntu16.04 |
@zhangcjl 添加 privileged: true 试了么? |
version: '2' flow.ci: flow.web: 默认第一个是有加,第二个没加,我刚加了,还是一样,mysql5.7我默认安装好就没修改什么,就装了个mysql-service 和mysql-client |
@zhangcjl 宿主机 MySQL的db store目录也是 /flow-ci/db这个么? |
请问下解决了没有? 我刚刚安装也出现了这个问题,不知道怎么解决了,求助。 |
|
root@ubuntu:/home/zhangcjl/docker# FLOW_API_DOMAIN=192.168.11.16 FLOW_WEB_DOMAIN=192.168.11.16 ./start-services.sh
##############Start Update Docker Images###################
latest: Pulling from flowci/flow-platform
Digest: sha256:6e7a8a0f33f9272c9df595e91a2f16825896946fd6124d250147d47926583119
Status: Image is up to date for flowci/flow-platform:latest
latest: Pulling from flowci/flow-web
Digest: sha256:ebec006624dc5660305bb66b08ecdf6ea4c9d516e376cae57bdad70e40244890
Status: Image is up to date for flowci/flow-web:latest
##############Finish Update Docker Images###################
###########环境变量说明###########
MYSQL_USER: 配置的Mysql的初始用户名, 默认是 root , 不可修改
JVM 最大堆大小为 1.5G
Mysql 的 默认存储路径是 /var/lib/mysql , 假如您正式部署请选择正确的配置路径
MYSQL_PASSWORD: 配置的Mysql的初始密码, 默认是 flow.ci , 当前参数是 123
MYSQL_HOST: 配置的Mysql的HOST地址, 默认是 127.0.0.1 , 当前参数是 localhost
FLOW_API_DOMAIN: 部署的FlowApi地址, 默认是 127.0.0.1, 当前参数值是 192.168.11.16
FLOW_WEB_DOMAIN: 部署的FlowWeb地址, 默认是 127.0.0.1, 当前参数值是 192.168.11.16
FLOW_SYS_EMAIL: Flow 的系统账号, 默认是 [email protected], 当前参数值是 [email protected]
FLOW_SYS_USERNAME: Flow 的系统用户名, 默认是 admin, 当前参数值是 admin
FLOW_SYS_PASSWORD: Flow 的系统密码, 默认是 123456, 当前参数值是 123456
Starting docker_flow.ci_1 ... done
Starting docker_flow.web_1 ... done
Attaching to docker_flow.ci_1, docker_flow.web_1
flow.ci_1 | /usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | Starting MariaDB database server: mysqld/usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | /usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
flow.ci_1 | ./usr/sbin/mysqld: error while loading shared libraries: libpthread.so.0: cannot stat shared object: Permission denied
^CGracefully stopping... (press Ctrl+C again to force)
Stopping docker_flow.web_1 ...
Stopping docker_flow.ci_1 ...
Killing docker_flow.web_1 ... done
Killing docker_flow.ci_1 ... done
The text was updated successfully, but these errors were encountered: