I’m using the latest version of the Amazon Linux AMI. I followed the RHEL install instructions because Amazon Linux is based on RHEL. When I run:
sudo yum-config-manager
–add-repo
https://docs.docker.com/engine/installation/linux/repo_files/centos/docker.repo
I get the following message:
Loaded plugins: priorities, update-motd, upgrade-helper
adding repo from: https://docs.docker.com/engine/installation/linux/repo_files/centos/docker.repo
grabbing file https ://docs.docker.com/engine/installation/linux/repo_files/centos/docker.repo to /etc/yum.repos.d/docker.repo
https ://docs.docker.com/engine/installation/linux/repo_files/centos/docker.repo: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 416 Requested Range Not Satisfiable”
Trying other mirror.
Could not fetch/save url https ://docs.docker.com/engine/installation/linux/repo_files/centos/docker.repo to file /etc/yum.repos.d/docker.repo: [Errno 14] PYCURL ERROR 22 - “The requested URL returned error: 416 Requested Range Not Satisfiable”
Is there something wrong with the install instructions for Amazon Linux or was I not following the correct instructions?