Install nvidia-docker on proxmox

By November 7, 2020Crypto Mining, Linux

Install nvidia-docker on proxmox with this easy guide.

Remove the blacklist from /etc/modprobe.d/pve-blacklist.conf by commenting out "nvidiafb"

Add "non-free" to /etc/apt/sources.list
deb http://ftp.us.debian.org/debian buster main contrib non-free

apt-get update
apt-get install nvidia-driver nvidia-smi

Reboot!

apt-get update ; apt-get install docker.io docker-compose
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \
apt-key add -
distribution=$(. /etc/os-release;echo $ID$VERSION_ID)
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \
tee /etc/apt/sources.list.d/nvidia-docker.list
apt-get update ; apt-get install nvidia-docker2

Leave a Reply