Unable to install Docker in Centos 7

Issues related to applications and software problems
Post Reply
Posts: 1
Joined: 2023/04/06 13:59:18

Unable to install Docker in Centos 7

Post by subhankar18 » 2023/04/06 14:06:18

I was trying to install Docker latest version in Centos 7 but getting below error ---

[root@kube-master ~]# yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
Loaded plugins: fastestmirror, langpacks
adding repo from: https://download.docker.com/linux/centos/docker-ce.repo
grabbing file https://download.docker.com/linux/centos/docker-ce.repo to /etc/yum.repos.d/docker-ce.repo
Could not fetch/save url https://download.docker.com/linux/centos/docker-ce.repo to file /etc/yum.repos.d/docker-ce.repo: [Errno 12] Timeout on https://download.docker.com/linux/centos/docker-ce.repo: (28, 'Connection timed out after 181602 milliseconds')

need urgent help , can someone tell me if I am missing something ..

User avatar
Site Admin
Posts: 32769
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Unable to install Docker in Centos 7

Post by TrevorH » 2023/04/06 15:21:00

I'd say you have a network problem that stops you from getting to the URL. Are you behind a connection that has a web proxy? I was able to run your command and add the repo with no problems.
CentOS 8 died a premature death at the end of 2021 - migrate to Rocky/Alma/OEL/Springdale ASAP.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are dead, do not use them.
Use the FAQ Luke

Post Reply