Skip to content

Can not install docker on RHEL9 with rpm, HTTP 404 https://download.docker.com/linux/rhel/9.4/x86_64/stable/repodata/repomd.xml #1184

@ktzsolt

Description

@ktzsolt

Following the installation documentation: https://docs.docker.com/engine/install/rhel/#install-using-the-repository

When I have to run sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
I get the following error:

Docker CE Stable - x86_64                                                                                                                  726  B/s | 383  B     00:00
Errors during downloading metadata for repository 'docker-ce-stable':
  - Status code: 404 for https://download.docker.com/linux/rhel/9.4/x86_64/stable/repodata/repomd.xml (IP: 18.239.94.127)
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

For this url https://download.docker.com/linux/rhel/9.4/x86_64/stable/repodata/repomd.xml it is indeed 404, it gives:

404 Not Found

    Code: NoSuchKey
    Message: The specified key does not exist.
    Key: linux/rhel/9.4/x86_64/stable/repodata/repomd.xml

Investigating the links I found that https://download.docker.com/linux/rhel/9.4/index.html redirects to https://download.docker.com/linux/rhel/9/index.html
Actually all urls with 9.0 to 9.9 redirects to 9

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions