Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install docker nvidia 2

# Setting up Docker
curl https://get.docker.com | sh 
  && sudo systemctl --now enable docker
  
# Setting up NVIDIA Container Toolkit
distribution=$(. /etc/os-release;echo $ID$VERSION_ID) 
   && curl -s -L https://nvidia.github.io/nvidia-docker/gpgkey | sudo apt-key add - 
   && 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 systemctl restart docker

sudo docker run --rm --gpus all nvidia/cuda:11.0-base nvidia-smi
Comment

PREVIOUS NEXT
Code Example
Shell :: pod file reinstall 
Shell :: ubuntu see port usage 
Shell :: install yarn ubuntu 20.04 
Shell :: XAMPP: Starting Apache...fail. 
Shell :: command ng not foudn 
Shell :: how to check cron is running or not 
Shell :: install gd extension php ubuntu 
Shell :: uninstall webpack globally 
Shell :: Error loading MySQLdb module. 
Shell :: pm2 start timestamp 
Shell :: remote origin already exist error 
Shell :: how to install tor browser in ubuntu 
Shell :: install sanctum 
Shell :: how to install iis web using powershell 
Shell :: apache enable site 
Shell :: how to get mac cpu temp 
Shell :: linux install figlet 
Shell :: git reset stash conflict 
Shell :: how to install and enable docker on command line with EC2 instance 
Shell :: libssl-dev install on ubuntu 
Shell :: macos install chromium 
Shell :: how to install node modules 
Shell :: apt-get install ps 
Shell :: node-sass: command not found 
Shell :: install angular globally 
Shell :: install opera linux terminal 
Shell :: change git commit message 
Shell :: install docker kali linux 
Shell :: install pygame 
Shell :: git clone fatal: unable to access SSL certificate problem: self signed certificate in certificate chain 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =