This post introduces the installation procedure for the docker (community edition) as well as nvidia-docker v1.0.1.

$ curl -fsSL | sudo apt-key add -
$ sudo add-apt-repository "deb [arch=amd64] $(lsb_release -cs) stable"
$ sudo apt-get update 
$ apt-cache policy docker-ce
$ sudo apt-get install -y docker-ce
$ sudo usermod -aG docker ${USER}
$ wget -P /tmp
$ sudo dpkg -i /tmp/nvidia-docker*.deb && rm /tmp/nvidia-docker*.deb
$ sudo reboot

Note: You may need to run sudo service restart nvidia-docker

Leave a comment