Difference between revisions of "ML computers nvidia-docker"

From Interaction Station Wiki
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...")
 
Line 7: Line 7:
 
  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
  

Revision as of 22:45, 27 November 2019

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 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

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