Skip to content

Instantly share code, notes, and snippets.

@kigawas
Last active June 19, 2018 04:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kigawas/9da507bfb3d11830caf4316d17c59863 to your computer and use it in GitHub Desktop.
Save kigawas/9da507bfb3d11830caf4316d17c59863 to your computer and use it in GitHub Desktop.
Initialize docker on Ubuntu
apt-get update
apt-get install apt-transport-https ca-certificates curl software-properties-common -y -q
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
apt-get install docker-ce -y -q
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment