Posts

Showing posts from September, 2017

Install TensorFlow by docker under Ubuntu16.04

Image
Environment GPU: Nvidia GTX 1080 OS: Ubuntu16.04 Docker installation Get Docker for Ubuntu Install docker complete edition(CE) Install packages to allow apt to use a repository over HTTPS: sudo apt-get install apt-transport-https ca-certificates curl software-properties-common Add Docker’s official GPG key: curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - Use the following command to set up the stable repository. You always need the stable repository, even if you want to install edge builds as well. (amd64) 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 Verify that Docker CE or Docker EE is installed correctly by running the hello-world image. sudo docker run hello-world NvidiaDocker installation Nvidia Docker official site # Install nvidia-docker and nvidia-docker-plugin wget -P /tmp https://githu...