[root@localhost docker]# docker pull hub.c.163.com/public/centos:6.5
Error response from daemon: Get https://hub.c.163.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
解决
1) 创建目录
mkdir -p /etc/systemd/system/docker.service.d
2) 创建http-proxy.conf配置文件
touch /etc/systemd/system/docker.service.d/http-proxy.conf
vim /etc/systemd/system/docker.service.d/http-proxy.conf
前言Docker安装完毕,拉取镜像时,有如下报错:[root@localhost docker]# docker pull hub.c.163.com/public/centos:6.5Error response from daemon: Get https://hub.c.163.com/v2/: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting hea.