Because KodeKloud Engineer Labs are based on CentOS 8, so after it’s end of life, issues are arising in Completing Labs. Like in Docker Level 1 Lab 1, when we use yum or dnf, following error is thrown.
[root@stapp01 ~]# dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
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.
[root@stapp01 ~]# dnf install docker-ce --nobest -y
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