Skip to content

No docker repo for RH 10 is present on https://download.docker.com #2854

@mszreibe

Description

@mszreibe

Description:
On documentation page: https://docs.rockylinux.org/gemstones/containers/docker/ there is a repository to be used:
sudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repo
It seems that they use baseurl like:
baseurl=https://download.docker.com/linux/rhel/$releasever/$basearch/stable

In Rocky 10 $releasever is 10 ( thats obvious) but on download.docker.com there is no such folder and no repo could be loaded.
any dnf install/update ends with:
`Docker CE Stable - x86_64 518 B/s | 382 B 00:00
Errors during downloading metadata for repository 'docker-ce-stable':

Solution: based on : [https://www.server-world.info/en/note?os=Rocky_Linux_10&p=docker&f=1]
Centos repo works for RockyLinux10 and that makes docker to be installed
dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo sed -i -e "s/enabled=1/enabled=0/g" /etc/yum.repos.d/docker-ce.repo

Suggest to change repo file or procedure how to use it.

Metadata

Metadata

Assignees

No one assigned

    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