Skip to content

Instantly share code, notes, and snippets.

@ngs
Created June 18, 2020 02:42
Show Gist options
  • Save ngs/11331fb323c9b1008b874441d0dcdda8 to your computer and use it in GitHub Desktop.
Save ngs/11331fb323c9b1008b874441d0dcdda8 to your computer and use it in GitHub Desktop.
# https://docs.docker.com/engine/install/ubuntu/
apt-get update -y
apt-get install -y \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
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 update -y
apt-get install docker-ce docker-ce-cli containerd.io
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment