Skip to content

TuragaLab/greentea-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This directory contains everything needed to create a gunpowder Docker image.

Setup nvidia-docker

# nvidia drivers
sudo apt-get install nvidia-375
sudo apt-get install libcuda1-375

# install docker
sudo apt-get install \
    apt-transport-https \
    ca-certificates \
    curl \
    software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository \
   "deb [arch=amd64] https://download.docker.com/linux/ubuntu \
   $(lsb_release -cs) \
   stable"
sudo apt-get update
sudo apt-get install docker-ce

# add your user to the docker group
sudo usermod -a -G docker $USER

docker run hello-world

# install nvidia-docker
wget -P /tmp https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb
sudo dpkg -i /tmp/nvidia-docker*.deb && rm /tmp/nvidia-docker*.deb

# start nvidia-docker (if failed above)
sudo service nvidia-docker start
nvidia-docker run --rm nvidia/cuda nvidida-smi

Build image

docker build -t gunpowder .

Run image as container

nvidia-docker run --rm gunpowder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published