Get https://registry-1.docker.io/v2/library/alpine/manifests/latest: Get https://auth.docker.io/token?scope=repository%3Alibrary%2Falpine%3Apull&service=registry.docker.io: net/http: request canceled (Client.Timeout exceeded while awaiting headers) 报这个错?求大神指点
站点连接问题
解决方案:
第一步:
vim /etc/docker/daemon.json
添加如下内容:
{
"registry-mirrors": ["http://hub-mirror.c.163.com"]
}
第二步:
sudo systemctl daemon-reload
第三步:
sudo service docker restart