Created
December 3, 2023 00:46
-
-
Save InnovArul/973b913c4ebc92ae9c164f21c66c46f4 to your computer and use it in GitHub Desktop.
nvidia-docker installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - | |
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) | |
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list | |
sudo apt-get update | |
sudo apt-get install -y nvidia-docker2 | |
sudo pkill -SIGHUP dockerd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment