报错 :Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
解决方法
配置加速地址
vim /etc/docker/daemon.json
添加以下内容
{"registry-mirrors": ["https://docker.1panel.live"]
}
或者
{"registry-mirrors": ["https://docker.211678.top","https://docker.1panel.live","https://hub.rat.dev","https://docker.m.daocloud.io","https://do.nark.eu.org","https://dockerpull.com","https://dockerproxy.cn","https://docker.awsl9527.cn"]
}
或
{"registry-mirrors": ["https://docker.m.daocloud.io"]
}
保存
:wq
重启docker
systemctl daemon-reload
systemctl restart docker