Docker install failing in linux with error [Errno 14] HTTPS Error 404 - Not Found Docker install failing in linux with error [Errno 14] HTTPS Error 404 - Not Found docker docker

Docker install failing in linux with error [Errno 14] HTTPS Error 404 - Not Found


I am using RHEL 7.

I fixed it by editing /etc/yum.repos.d/docker-ce.repo. Replacing $releasever with hard-coded 7 works. The variabl $releasever = 7Server by default.

Example:

baseurl=https://download.docker.com/linux/centos/7/$basearch/stable


This is because you are using a deprecated repository link. They just recently moved to download.docker.com as mentioned here. You will need to use the updated one and everything should work fine!


Looks like that your yum is not configured properly for docker.

Try this

NOTE: Make sure to remove all the docker packages that are already present in your machine. Steps are included in the above link