Difference between revisions of "ML computers nvidia-docker"
Jump to navigation
Jump to search
(Created page with "== Installing nvidia-docker2 on Ubuntu 16.04 == '''*1. Install the repository for your distribution:''' curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ sudo...") |
|||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== Installing nvidia-docker2 on Ubuntu 16.04 == | == Installing nvidia-docker2 on Ubuntu 16.04 == | ||
− | '''*1. Install the repository for your distribution:''' | + | '''0. Prerequisites:''' |
+ | *NVIDIA drivers >= 361.93 | ||
+ | *Docker >= 1.12 | ||
+ | |||
+ | '''1. Install the repository for your distribution:''' | ||
curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ | curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | \ | ||
sudo apt-key add - | sudo apt-key add - | ||
Line 7: | Line 11: | ||
curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \ | curl -s -L https://nvidia.github.io/nvidia-docker/$distribution/nvidia-docker.list | \ | ||
sudo tee /etc/apt/sources.list.d/nvidia-docker.list | sudo tee /etc/apt/sources.list.d/nvidia-docker.list | ||
+ | |||
sudo apt-get update | sudo apt-get update | ||
− | ''' | + | '''2. Install the nvidia-docker2 package and reload the Docker daemon configuration:''' |
sudo apt-get install nvidia-docker2 | sudo apt-get install nvidia-docker2 | ||
sudo pkill -SIGHUP dockerd | sudo pkill -SIGHUP dockerd | ||
Line 24: | Line 29: | ||
*To see information in which docker has been installed: | *To see information in which docker has been installed: | ||
sudo docker info | sudo docker info | ||
+ | |||
+ | [[Category:AI & Machine Learning]] |
Latest revision as of 10:30, 25 November 2022
Installing nvidia-docker2 on Ubuntu 16.04
0. Prerequisites:
- NVIDIA drivers >= 361.93
- Docker >= 1.12
1. Install the repository for your distribution:
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
2. Install the nvidia-docker2 package and reload the Docker daemon configuration:
sudo apt-get install nvidia-docker2 sudo pkill -SIGHUP dockerd
- More info and steps:
- https://github.com/NVIDIA/nvidia-docker/wiki/Installation-(version-2.0)
Change the Docker default folder so Runway files are installed in the HDD drive
systemctl stop docker mv /var/lib/docker /media/interactionstation/ml_hdd/docker ln -s /media/interactionstation/ml_hdd/docker /var/lib/docker systemctl start docker
- To see information in which docker has been installed:
sudo docker info