Skip to content

Instantly share code, notes, and snippets.

@daqing
Created May 18, 2018 06:17
Show Gist options
  • Save daqing/e8ba3a43819df23f19145509168c3e4b to your computer and use it in GitHub Desktop.
Save daqing/e8ba3a43819df23f19145509168c3e4b to your computer and use it in GitHub Desktop.
install docker on ubuntu 16.04
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment