Skip to content

Instantly share code, notes, and snippets.

@hoswey
Created January 22, 2017 08:31
Show Gist options
  • Save hoswey/5c6997c2c6c52cb9b59a01862dbdd7c8 to your computer and use it in GitHub Desktop.
Save hoswey/5c6997c2c6c52cb9b59a01862dbdd7c8 to your computer and use it in GitHub Desktop.
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates
sudo apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://mirrors.tuna.tsinghua.edu.cn/docker/apt/repo ubuntu-precise main" | sudo tee /etc/apt/sources.list.d/docker.list
sudo apt-get update && sudo apt-get install -y linux-image-generic-lts-trusty
sudo apt-get install docker-engine
sudo service docker start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment