CSGHub icon indicating copy to clipboard operation
CSGHub copied to clipboard

docker-server服务中拉取镜像失败导致应用空间运行错误

Open xiaopengpeng opened this issue 10 months ago • 8 comments

平台报错: Image 进到docker-server服务中手动拉取镜像报错:

Image

xiaopengpeng avatar Feb 26 '25 07:02 xiaopengpeng

I’ve tried starting a new CSGHub Docker Compose, entering the docker-server container, and pulling the space-base image, and everything worked fine. @xiaopengpeng Could you please provide more details or the steps to reproduce the issue so we can investigate further? Specifically, it would help if you could include:

  • How you're deploying CSGHub
  • The version you're using
  • Whether you're able to pull the opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_space/space-base:python3.10 image successfully on your machine (not inside a Docker container)

Yiling-J avatar Feb 26 '25 09:02 Yiling-J

I’ve tried starting a new CSGHub Docker Compose, entering the docker-server container, and pulling the space-base image, and everything worked fine. @xiaopengpeng Could you please provide more details or the steps to reproduce the issue so we can investigate further? Specifically, it would help if you could include:

  • How you're deploying CSGHub
  • The version you're using
  • Whether you're able to pull the opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_space/space-base:python3.10 image successfully on your machine (not inside a Docker container)

你好,我是用的docker-compose安装的,版本是1.4,我自己本地可以拉取这个镜像,但是在容器中拉不到,在容器中ping镜像地址可以ping通,英文水平有限,sorry,不能用英文回复您。

xiaopengpeng avatar Feb 27 '25 03:02 xiaopengpeng

@xiaopengpeng Could you please confirm if you're using any proxy or VPN tools, such as v2ray? A failed docker pull but successful ping could potentially be caused by these tools.

Yiling-J avatar Feb 27 '25 04:02 Yiling-J

I’ve tried starting a new CSGHub Docker Compose, entering the docker-server container, and pulling the space-base image, and everything worked fine. @xiaopengpeng Could you please provide more details or the steps to reproduce the issue so we can investigate further? Specifically, it would help if you could include:

  • How you're deploying CSGHub
  • The version you're using
  • Whether you're able to pull the opencsg-registry.cn-beijing.cr.aliyuncs.com/opencsg_space/space-base:python3.10 image successfully on your machine (not inside a Docker container)

@

@xiaopengpeng Could you please confirm if you're using any proxy or VPN tools, such as v2ray? A failed docker pull but successful ping could potentially be caused by these tools.

@Yiling-J 我可以确认,没有用到代理

xiaopengpeng avatar Feb 27 '25 04:02 xiaopengpeng

@MasonXon @wayneliu0019

Yiling-J avatar Feb 27 '25 08:02 Yiling-J

现在可以了吗?

MasonXon avatar Feb 28 '25 04:02 MasonXon

现在可以了吗?

大佬,后边我还没有研究,目前的解决方案是在宿主机拉完镜像打包传到容器中。

xiaopengpeng avatar Feb 28 '25 05:02 xiaopengpeng

通常 docker compose 对这个并没有做什么限制,而且拉取的镜像是公网公开的地址,这里确实很奇怪

MasonXon avatar Feb 28 '25 05:02 MasonXon