Docker构建报错

docker中在Run apt-get update命令之前会报以下错误

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC

好像是NVIDIA的一个错误,解决方案在下面链接

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

我是在FROM镜像后面,apt-get update之前加了下面语句解决的问题

RUN rm /etc/apt/sources.list.d/cuda.list
RUN rm /etc/apt/sources.list.d/nvidia-ml.list

你可能感兴趣的:(服务器,docker,运维,容器)