-
Notifications
You must be signed in to change notification settings - Fork 41
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
关于启动 #44
Comments
[root@HW-north gores]# docker-compose restart ERROR: for gores_master_1 Cannot restart container 4b26459a39fe4e282a7e1f0f0a38b96d840e3626af82b40fda38aa579aace52a: oci runtime error: container_linux.go:235: starting container process caused "container init exited prematurely" |
如果是尝试这个demo,那么config.toml是不需要改的,在项目根目录运行 |
[root@a001-0002 gores]# docker-compose stop ERROR: for gores_master_1 Cannot start service master: oci runtime error: container_linux.go:235: starting container process caused "container init exited prematurely" ERROR: for master Cannot start service master: oci runtime error: container_linux.go:235: starting container process caused "container init exited prematurely" ERROR: Encountered errors while bringing up the project. 老师您好,我有个地方不是很明白,如果没有config.toml,master就能启动成功 但是什么都访问不到,而且会自己生成一个config.toml的文件夹。但是如果我加上这个config.toml,docker-compose就报上面的错误了 |
master_1 | {"level":"info","ts":1631699069.3234115,"caller":"gorse-master/main.go:43","msg":"load config","config":"/etc/config.toml"} 可能是docker的网卡问题 导致数据库连接不成功。这个就很尴尬了 |
gorse_mysql_1 exited with code 0
|
很奇怪啊,看起来应该是成功了😂 |
请问老师 我按照文档 去安装启动(docker-compose),但是master启动error,请问是什么原因呢?config.toml这个文件是可以直接使用github上给的,还是需要修改里面的内容呢?
The text was updated successfully, but these errors were encountered: