Unable to install docker-ce and docker-compose

When trying to yum install -y yum-utils
I get this error, is it normal?

Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

CentOS Stream 8 - AppStream                                                                   179  B/s |  38  B     00:00    
Error: Failed to download metadata for repo 'appstream': Cannot prepare internal mirrorlist: No URLs in mirrorlist

Lab 1 on docker

It is a known issue due to RedHat suddenly retiring CentOS 8.
Engineers are working to upgrade the labs

1 Like

Alright good to know thank you :raised_hands:

There is a work-around if you want to get though the task before they upgrade the labs:

sudo sed -i 's/mirrorlist/#mirrorlist/g' /etc/yum.repos.d/CentOS-*
sudo sed -i 's|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g' /etc/yum.repos.d/CentOS-*

This will fix yum and dnf so that they can find the archived versions of the repository.

Hi @oranmz,

The KKE team has fixed this issue. Please try again and share the feedback.

Regards,