草庐IT

repositoryis

全部标签

Ubuntu下,构建docker报错The repositoryis ... not signed.解决

报错具体为E:Therepository'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64InRelease'isnotsigned.这是因为nvidia更新了密钥库,在dockerfile文件加入RUNrm/etc/apt/sources.list.d/cuda.listRUNapt-keydel7fa2af80RUNapt-keyadv--fetch-keyshttps://developer.download.nvidia.com/compute/cuda/repos/$distro/$a