-
Notifications
You must be signed in to change notification settings - Fork 357
Description
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':
- Status code: 404 for https://download.docker.com/linux/rhel/10/x86_64/stable/repodata/repomd.xml (IP: 65.9.66.54)
Error: Failed to download metadata for repo 'docker-ce-stable': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried`
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.