Trying to install docker on a VMWare guest CentOS 6 based on the documents of docker.
Upon running the script sudo yum install docker-ce docker-ce-cli containerd.io
, it gives the message
https://download.docker.com/linux/centos/6/x86_64/stable/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
checked the link https://download.docker.com/linux/centos/6/x86_64/stable/repodata/repomd.xml and it returns error 404. Checked the docker site and CentOS 6 is not on the list.
What I tried: Downloaded the docker repo and updated the baseURL to a mirror site.
[docker-ce-stable]
name=Docker CE Stable - $basearch
baseurl=http://mirror.centos.org/centos/6/os/x86_64/repodata/repomd.xml
enabled=1
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
then added it to my repo
sudo yum-config-manager \
--add-repo \
/home/username/Desktop/DOCKER PROJECT/docker-ce.repo
Tried to reinstall but got the message:
Repository '_home_username_Desktop_DOCKER': Error parsing config: Error parsing "baseurl = '/home/username/Desktop/DOCKER'": URL must be http, ftp, file or https not ""