Installation (version 1.0)

Felix Abecassis edited this page Nov 14, 2017 · 1 revision

Prerequisites

The list of prerequisites for running nvidia-docker is described below.
For information on how to install Docker for your Linux distribution, please refer to the Docker documentation.

  1. GNU/Linux x86_64 with kernel version > 3.10
  2. Docker >= 1.9 (official docker-engine, docker-ce or docker-ee only)
  3. NVIDIA GPU with Architecture > Fermi (2.1)
  4. NVIDIA drivers >= 340.29 with binary nvidia-modprobe

Your driver version might limit your CUDA capabilities (see CUDA requirements)

Installing version 1.0

Ubuntu distributions

  1. Install the repository for your distribution by following the instructions here.
  2. Install the nvidia-docker package
sudo apt-get install nvidia-docker

CentOS distributions

  1. Install the repository for your distribution by following the instructions here.
  2. Install the nvidia-docker package
sudo yum install nvidia-docker

The package installation will automatically setup the nvidia-docker-plugin and depending on your distribution, register it with the init system.

Basic usage

nvidia-docker run --rm nvidia/cuda nvidia-smi
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.