apt-update in Azure Nvidia gives publickey error
the following worked for me
apt-key del 7fa2af80
rm /etc/apt/sources.list.d/cuda.list
rm /etc/apt/sources.list.d/nvidia-ml.list
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb
dpkg -i cuda-keyring_1.0-1_all.deb
I ran those commands in docker container, so in VM you might need to add sudo.
Docker: How to solve the public key error in ubuntu while installing docker
EDIT: This apparently does not work any more.
Run this to add the correct key:
# Does not work any more
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
Source: https://docs.docker.com/install/linux/docker-ce/ubuntu/
apt-get update' returned a non-zero code: 100
Because you have an https sources. Install apt-transport-https
before executing update.
FROM ubuntu:14.04.4
RUN apt-get update && apt-get install -y apt-transport-https
RUN echo 'deb http://private-repo-1.hortonworks.com/HDP/ubuntu14/2.x/updates/2.4.2.0 HDP main' >> /etc/apt/sources.list.d/HDP.list
RUN echo 'deb http://private-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/ubuntu14 HDP-UTILS main' >> /etc/apt/sources.list.d/HDP.list
RUN echo 'deb [arch=amd64] https://apt-mo.trafficmanager.net/repos/azurecore/ trusty main' >> /etc/apt/sources.list.d/azure-public-trusty.list
....
Rest of your Dockerfile.
Related Topics
What's The Advantage of 3G/1G Vm Split ? 32Bit Linux Kernel
Unzip in Current Directory While Preserving File Structure
Finding The Longest Word in a Text File
Linux Configuration - Ssmtp: Cannot Open Smtp.Gmail.Com:587
Execute External Program with Trigger in Postgres 9.4
Removing File from Folder in Linux
Calculator in Assembly Language - Linux X86 & Nasm - Division
.Lis Files Generated While Compiling Pro*C Code in Linux
Bash Command Line Arguments Passed to Sed via Ssh
How to Remove Everything Else in a Folder Except Filea
How to Tell Linux to Keep a Page and Not Evict It
Find' (Command) Finds Nothing with -Wholename
How to Identify Padding Scheme Used in Rsa Signature of a Certificate, Using Openssl