执行kind * 命令时,出现报错 failed to pull image

1 view
Skip to first unread message

Gwen Fu

unread,
Apr 16, 2025, 4:48:12 AMApr 16
to Gaius, dragonfl...@googlegroups.com
依据文档说明 , 想要quick start时 
$ sudo kind create cluster --config kind-config.yaml
.....
ERROR: failed to create cluster: failed to pull image "kindest/node:v1.30.0@sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e": command "docker pull kindest/node:v1.30.0@sha256:047357ac0cfea04663786a612ba1eaba9702bef25227a794b52890dd8bcd692e" failed with error: exit status 1
Command Output: Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

在执行此命令前,已完成安装docker以及k8s,
此外之前为验证docker成功安装,执行命令docker run hello-world 时 创建了文件:“”此文件貌似用以修改镜像源的。

此外文档:https://d7y.io/docs/next/getting-started/quick-start/kubernetes/  出现单词拼写错误 , containerd
image.png

Gwen Fu

unread,
Apr 16, 2025, 7:51:22 AMApr 16
to Gaius, dragonfl...@googlegroups.com
通过添加docker镜像源于 /etc/docker/daemon.json 文件 , 并开启代理,  已解决问题
此外, 文档单词拼写问题还请maintainer查看

Gaius <gaiu...@gmail.com> 于2025年4月16日周三 19:22写道:
vpn 访问 dockerhub 被墙

Gwen Fu <gwen329...@gmail.com>于2025年4月16日 周三16:48写道:
Reply all
Reply to author
Forward
0 new messages