Difference between revisions of "ML computers nvidia-docker"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
== Installing nvidia-docker2 on Ubuntu 16.04 == | == Installing nvidia-docker2 on Ubuntu 16.04 == | ||
+ | |||
+ | '''0. Prerequisites:''' | ||
+ | *NVIDIA drivers >= 361.93 | ||
+ | *Docker >= 1.12 | ||
'''1. Install the repository for your distribution:''' | '''1. Install the repository for your distribution:''' |
Revision as of 22:46, 27 November 2019
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