Skip to content

Instantly share code, notes, and snippets.

@Edison-Hsu
Created March 7, 2018 08:48
Show Gist options
  • Save Edison-Hsu/1cecd53acdd2b96188662619f98644d5 to your computer and use it in GitHub Desktop.
Save Edison-Hsu/1cecd53acdd2b96188662619f98644d5 to your computer and use it in GitHub Desktop.
apt-get update
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.daocloud.io/docker/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=$(dpkg --print-architecture)] https://download.daocloud.io/docker/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
apt-get install -y -q docker-ce=17.09.1*
service docker start
service docker status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment