Skip to content

Instantly share code, notes, and snippets.

@rafeequl
Created February 28, 2017 04:29
Show Gist options
  • Save rafeequl/90d13b5ef6b1814bacf7c0e2e06fc67f to your computer and use it in GitHub Desktop.
Save rafeequl/90d13b5ef6b1814bacf7c0e2e06fc67f to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
sudo apt-get install -y --no-install-recommends \
apt-transport-https \
ca-certificates \
curl \
software-properties-common
curl -fsSL https://apt.dockerproject.org/gpg | sudo apt-key add -
sudo add-apt-repository \
"deb https://apt.dockerproject.org/repo/ \
ubuntu-$(lsb_release -cs) \
main"
sudo apt-get update
sudo apt-get -y install docker-engine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment