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

我在 sh deploy.sh部署的时候提示提示 #384

Closed
mengxiangyu-png opened this issue Apr 14, 2023 · 5 comments
Closed

我在 sh deploy.sh部署的时候提示提示 #384

mengxiangyu-png opened this issue Apr 14, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@mengxiangyu-png
Copy link

Describe the bug
A clear and concise description of what the bug is.
? Network docker-deploy_primihub_net Error 0.0s
failed to create network docker-deploy_primihub_net: Error response from daemon: Failed to Setup IP tables: Unable to enable SKIP DNAT rule: (iptables failed: iptables --wait -t nat -I DOCKER -i br-226f4c00e324 -j RETURN: iptables: No chain/target/match by that name.
(exit status 1))

1

@mengxiangyu-png mengxiangyu-png added the bug Something isn't working label Apr 14, 2023
@fuxingbit
Copy link
Contributor

什么系统?你前面不是部署成功了么?安装下iptables试试吧

@mengxiangyu-png
Copy link
Author

我自己的虚拟机 Red Hat 4.8.5-36,centoiptables我安装了,没好用,开始是登录了,但是后来资源新增不了,然后又刷了下你说的脚本,好像是对sql语句也替换成172.29,然后就这样。

@fuxingbit
Copy link
Contributor

执行deploy.sh前有执行docker-compose down么?现在直接执行docker-compose up -d启动呢

@mengxiangyu-png
Copy link
Author

谢谢,现在成功了。之前我的操作好像是先删除所有docker ,然后把文件重新下载下来,然后按照你的脚本做的,然后我把脚本改成了sed -i 's/172.28/172.29/g' data/initsql/*.sql 。之前没成功,但是现在成功了,是不是系统部署完后,有的服务得一会才能真正启动完成,控制台需要得一会才能访问,要不然报404,现在我看终于登陆进去了,然后创建了一个资源也成功,非常感谢

@mengxiangyu-png
Copy link
Author

感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants