yum update fails when i try to yum update as follows
FROM centos
MAINTAINER “sveerla”
RUN dnf clean all && rm -r /var/cache/dnf && dnf upgrade -y && dnf update -y
Error:
Errors during downloading metadata for repository ‘AppStream’:
- Curl error (6): Couldn’t resolve host name for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=AppStream&infra=container [Could not resolve host: mirrorlist.centos.org]
Error: Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: Curl error (6):