Skip to content

failed to pull image #2856

@zhongqian0

Description

@zhongqian0

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 手动拉取试了一下并没有问题

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions