![Pcloud linux client](https://cdn2.cdnme.se/5447227/9-3/8_64e61dfb9606ee7f6adf5896.png)
For this to work, curl needs to be installed in the server first. To install it with the script, just download the package from the docker official website with curl and run it. It is recommended to install it with their installation script because the Docker installation package might not be the latest in CentOS’ official repo.
![docker pull centos7 docker pull centos7](https://linuxhandbook.com/content/images/2020/07/Docker-Compose-centos.jpg)
Pull any docker image (docker pull hello-world).Install a fresh Centos 7.7 or 7.8 (do yum update or even without).This issue can be always reproduced anytime:
![docker pull centos7 docker pull centos7](https://hustcat.github.io/assets/2014-12-17-docker-pull-1.png)
Get : net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting ~]# nslookup Trying to pull repository docker.io/library/hello-world. Unit rvice could not be ~]# docker pull hello-world
![docker pull centos7 docker pull centos7](http://upload-images.jianshu.io/upload_images/1255061-780f73fc18d30177.png)
Loaded: loaded (/usr/lib/systemd/system/rvice disabled vendor preset: enabled)
![docker pull centos7 docker pull centos7](https://blog.hostvn.net/wp-content/uploads/2020/04/Screenshot_55-1.png)
systemctl disable firewalld systemctl stop firewalld systemctl disable iptables systemctl stop iptables iptables -F iptables ~]# systemctl status firewalldįrvice - firewalld - dynamic firewall daemon I am facing this issue and I can find many people also facing this same issue mainly because of DNS and or Proxy.īut in my case, I don't have proxy, and I confirm the DNS is working well.
![Pcloud linux client](https://cdn2.cdnme.se/5447227/9-3/8_64e61dfb9606ee7f6adf5896.png)