kenichi-shibata
9/5/2017 - 8:20 AM

for p2 instances

for p2 instances

https://developer.nvidia.com/cuda-downloads
http://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation

sudo apt-get install git

# install docker
sudo apt-get install \
    linux-image-extra-$(uname -r) \
    linux-image-extra-virtual
sudo apt-get update

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
# install docker compose
sudo apt-get -y install python-pip
sudo pip install docker-compose