DongTai icon indicating copy to clipboard operation
DongTai copied to clipboard

[Bug]: 【网咯连接问题】dtctl 在 1.16.0的 版本下安装,docker 并不能pull ,提示网络超时

Open aaqiqi1 opened this issue 1 year ago • 10 comments

Preflight Checklist

  • [X] I agree to follow the Code of Conduct that this project adheres to.
  • [X] I have searched the issue tracker for an issue that matches the one I want to file, without success.
  • [x] I am not looking for support or already pursued the available support channels without success.

Version

1.16.0

Installation Type

Official Docker Compose

Service Name

Doc(DongTai-Doc), Docker(DongTai-Base-Image)

Describe the details of the bug and the steps to reproduce it

问题: 我 运行./dtctl install -v1.16.0 并不能安装,安装1.8.0也是一样的,截图如下: image

如果不指定版本就直接回退出 image

配置: 我的ip是可以连接外网的 image

docker也是可以正常访问的 image

Additional Information

No response

Logs

No response

aaqiqi1 avatar May 31 '24 17:05 aaqiqi1

我也遇到了类似的问题,目前docker hub国内已经废了,我给docker配置了代理源,他依旧走registry.hub.docker.com curl: (28) Failed to connect to registry.hub.docker.com port 443 after 133623 ms: Connection timed out 看了下脚本,是代码写死了 https://github.com/HXSecurity/DongTai/blob/7e20dc51412cc253f6cf0aa46fd5fb1cf4917f97/deploy/docker-compose/dtctl#L180

totoro52 avatar Jun 28 '24 04:06 totoro52

https://github.com/HXSecurity/DongTai/blob/7e20dc51412cc253f6cf0aa46fd5fb1cf4917f97/deploy/docker-compose/dtctl#L14 0 是registry.hub.docker.com 1是 registry.cn-beijing.aliyuncs.com/huoxian_pub

Code-Agitator avatar Aug 09 '24 03:08 Code-Agitator

解决了吗哥,免费版token怎么申请哦?

byXewl avatar Aug 12 '24 07:08 byXewl

解决了吗哥,免费版token怎么申请哦?

哪个地方的token呢,我记得方式没有用token

aaqiqi1 avatar Aug 12 '24 08:08 aaqiqi1

解决了吗哥,免费版token怎么申请哦?

哪个地方的token呢,我记得方式没有用token

那这个网络问题怎么解决的呢?

byXewl avatar Aug 12 '24 08:08 byXewl

解决了吗哥,免费版token怎么申请哦?

哪个地方的token呢,我记得方式没有用token

那这个网络问题怎么解决的呢?

楼上大佬的这个方法可以解决 14 REGISRTY=1

aaqiqi1 avatar Aug 12 '24 08:08 aaqiqi1

解决了吗哥,免费版token怎么申请哦?

哪个地方的token呢,我记得方式没有用token

就是第一次登录后台后,顶部会提示:未配置ScaToken: 点我配置,这个sca-token。

byXewl avatar Aug 13 '24 05:08 byXewl

...

sxfreesky123 avatar Jan 08 '25 02:01 sxfreesky123

DongTai/deploy/docker-compose/dtctl

Line 14 in 7e20dc5

REGISRTY=1

0 是registry.hub.docker.com 1是 registry.cn-beijing.aliyuncs.com/huoxian_pub

阿里云的这个镜像是不是废了,怎么打开都404了?

cheechang avatar Nov 20 '25 06:11 cheechang

DongTai/deploy/docker-compose/dtctl Line 14 in 7e20dc5 REGISRTY=1 0 是registry.hub.docker.com 1是 registry.cn-beijing.aliyuncs.com/huoxian_pub

阿里云的这个镜像是不是废了,怎么打开都404了?

是的 以前常用的国内公开的镜像源基本都不行了 现在只能百度,有的能用有的不行,有的用着用着也不能用了,还是准备科学上网吧😊

Code-Agitator avatar Nov 20 '25 09:11 Code-Agitator