Skip to content

Docker notes

John Pearson edited this page Aug 29, 2017 · 3 revisions

Using Docker for deep learning

John followed the directions here. What he had to do:

Preparing for the container:

  1. We already had CUDA installed, so no problem there. If not already installed, you'd need to do it.

  2. Install Docker CE using directions here. (Note that the lab machines are x86_64, so follow the command corresponding to amd64 in the directions.

  3. Install Nvidia-docker from the releases page by running something like (I copied the link from the page):

    wget https://github.com/NVIDIA/nvidia-docker/releases/download/v1.0.1/nvidia-docker_1.0.1-1_amd64.deb
    sudo apt install ./nvidia-docker_1.0.1-1_amd64.deb
    

Building the container:

  1. Unfortunately, as explained here, if you want GPU support, you need to build the image locally. This was straightforward, but took a while.

Clone this wiki locally