'apt-update gives publickey error on NVIDIA docker image

I'm asking a new question because stack overflow won't let me add a comment as I just joined, but I have a follow up to these threads:

apt-update in Azure Nvidia gives publickey error

https://github.com/NVIDIA/nvidia-docker/issues/1631

could someone please share a base image I could pull that has cuda, wget and Ubuntu18.04 installed - I have a dockerfile that works on AWS that I cannot edit that I need to run the following on first:

FROM base_image_needed
...
RUN apt-key del ...

RUN wget https_nvidia_cuda_keyring_pkg

the nvidia ubuntu images I have tried don't have wget installed:

https://hub.docker.com/r/nvidia/cuda/tags?page=1

thank you



Solution 1:[1]

You should be able to use this image which has Ubuntu 18.04 and cuda : image. Regarding wget once you connet to image you should run sudo apt-get install wget that should help in fixing gpg keys issue.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Eyshika