docker error pulling image configuration dial tcp xxxx:443: i/o timeout

docker error pulling image configuration dial tcp xxxx:443: i/o timeout

windows下使用docker时候会遇到面这种情况

Using default tag: latest
latest: Pulling from library/nginx
a2abf6c4d29d: Pulling fs layer
a9edb18cadd1: Downloading [==============================>                    ]  15.66MB/25.35MB
589b7251471a: Pulling fs layer
186b1aaa4aa6: Waiting
b4df32aa5a72: Waiting
a0bcbecc962e: Waiting
error pulling image configuration: Get "https://production.cloudflare.docker.com/registry-v2/docker/registry/v2/blobs/sha256/60/605c77e624ddb75e6110f997c58876baa13f8754486b461117934b24a9dc3a85/data?verify=1641348840-HEclrOaWvSdjNgJA04vRGOv5rGY%3D": dial tcp 104.18.123.25:443: i/o timeout

主要是

error pulling image configuration...dial tcp xxxx:443: i/o timeout

解决方案

首先找到docker安装目录,搜索windows-daemon-options,然后打开文本编辑。
复制粘贴到指定位置,然后保存。

"https://hub-mirror.c.163.com",
"https://registry.aliyuncs.com",
"https://registry.docker-cn.com",
"https://docker.mirrors.ustc.edu.cn"

docker error pulling image configuration dial tcp xxxx:443: i/o timeout_第1张图片保存后重启docker即可。

你可能感兴趣的:(docker)