国内Docker安装2.12.0失败

Rancher Server 设置

  • Rancher 版本:2.12.0
  • 安装选项 (Docker install/Helm Chart): Docker install
  • 在线或离线部署:在线部署

主机操作系统:

2025/08/19 04:27:48 [INFO] RDPClient: Checking if dialer is built...
2025/08/19 04:27:48 [INFO] RDPClient: Dialer is not built yet, waiting 5 secs to re-check.

k3s.log

Error syncing pod, skipping" err="failed to \"CreatePodSandbox\" for \"coredns-697968c856-xhmmg_kube-system(e0e7d8c7-c9d9-454d-97a2-3209059e73f9)\" with CreatePodSandboxError: \"Failed to create sandbox for pod \\\"coredns-697968c856-xhmmg_kube-system(e0e7d8c7-c9d9-454d-97a2-3209059e73f9)\\\": rpc error: code = DeadlineExceeded desc = failed to start sandbox \\\"8accf2d675672acf57707556c23795f21c66516ec79c6bf15924297cc2d04a79\\\": failed to get sandbox image \\\"rancher/mirrored-pause:3.6\\\": failed to pull image \\\"rancher/mirrored-pause:3.6\\\": failed to pull and unpack image \\\"docker.io/rancher/mirrored-pause:3.6\\\": failed to resolve reference \\\"docker.io/rancher/mirrored-pause:3.6\\\": failed to do request: Head \\\"https://registry-1.docker.io/v2/rancher/mirrored-pause/manifests/3.6\\\": dial tcp 69.171.234.48:443: i/o timeout\"" pod="kube-system/coredns-697968c856-xhmmg" podUID="e0e7d8c7-c9d9-454d-97a2-3209059e73f9"

预期结果: 镜像使用阿里云仓库

截图:

参考:Docker run 启动 rancher,由于映射数据目录导致 rancher/mirrored-pause 无法拉取 - #2,来自 ksd