Pretty straight forward…
Run a docker container with centos:centos7
Configure the repos for epel and nvidia
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
ARCH=x86_64
distribution=rhel7
yum-config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/distribution/{ARCH}/cuda-$distribution.repo
Then attempt to install the driver
yum install nvidia-driver-latest (or nvidia-driver-latest-dkms or cuda-10-2)
It will end up with
yum-plugin-nvidia-0.5-1.el7.no FAILED
http://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/yum-plugin-nvidia-0.5-1.el7.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=cuda clean metadata
Trying other mirror.
Running the yum cleanup, etc, doesn’t seem to help.
I’m not totally certain when this started happening, but I noticed it yesterday evening.