Previous Docker Community Edition repositories no longer allow updates for "docker-ce-stable"
Issue
- When using third-party Docker on Red Hat Enterprise Linux 8 or 9 systems,
yum updatefails with errors similar to:
[root@rhel-docker-host ~]# yum update
Updating Subscription Management repositories.
Docker CE Stable - x86_64 2.5 kB/s | 389 B 00:00
Errors during downloading metadata for repository 'docker-ce-stable':
- Status code: 404 for https://download.docker.com/linux/centos/8/x86_64/stable/repodata/repomd.xml (IP: 3.161.193.32)
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Environment
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Docker Community Edition
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.