kubekey icon indicating copy to clipboard operation
kubekey copied to clipboard

failed to pull image

Open zhongqian0 opened this issue 1 month ago • 2 comments

21:24:13 CST [roles/download] Image | Download container images ⠋ [localhost] failed [21s] 21:24:34 CST [Playbook default/artifact-export-csnmx] finish. total: 35,success: 32,ignored: 2,failed: 1 Error: task Image | Download container images run failed: [localhost]: failed to pull image: failed to pull image "docker.io/calico/apiserver:v3.24.5" to local dir: failed to resolve v3.24.5: Get "https://registry-1.docker.io/v2/calico/apiserver/manifests/v3.24.5": dial tcp 103.252.115.169:443: connect: connection refused task Image | Download container images run failed: [localhost]: failed to pull image: failed to pull image "docker.io/calico/apiserver:v3.24.5" to local dir: failed to resolve v3.24.5: Get "https://registry-1.docker.io/v2/calico/apiserver/manifests/v3.24.5": dial tcp 103.252.115.169:443: connect: connection refused[root@localhost kubesphere]#

[root@localhost kubesphere]# systemctl show docker|grep http Environment=HTTP_PROXY=http://192.168.1.11:7890 HTTPS_PROXY=http://192.168.1.11:7890 NO_PROXY=localhost,127.0.0.1,::1 Documentation=https://docs.docker.com DropInPaths=/etc/systemd/system/docker.service.d/http-proxy.conf [root@localhost kubesphere]# env |grep http https_proxy=http://192.168.1.11:7890 http_proxy=http://192.168.1.11:7890 [root@localhost kubesphere]#

已经配置了代理,但是无法拉取镜像,用docker pull 手动拉取试了一下并没有问题

zhongqian0 avatar Nov 13 '25 13:11 zhongqian0

用clash的TUN代理模式试试

redscholar avatar Nov 14 '25 05:11 redscholar

用clash的TUN代理模式试试

代理环境有时候依旧会拉取失败,麻烦尽快同步一下到国内镜像吧

JYT59421 avatar Nov 16 '25 06:11 JYT59421