Skip to content

Instantly share code, notes, and snippets.

@sdenel
Created August 22, 2018 13:54
Show Gist options
  • Save sdenel/b933374ae8d775209e9aa6b27146b5c7 to your computer and use it in GitHub Desktop.
Save sdenel/b933374ae8d775209e9aa6b27146b5c7 to your computer and use it in GitHub Desktop.
Ubuntu: Install Docker
# As root, adapted from: https://docs.docker.com/install/linux/docker-ce/ubuntu/
apt update
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key add -
apt-key fingerprint 0EBFCD88
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get install -y docker-ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment