Skip to content

Instantly share code, notes, and snippets.

@jazio
Created March 5, 2018 14:09
Show Gist options
  • Save jazio/e65c80d99da5ce18dde86b1e158aad0f to your computer and use it in GitHub Desktop.
Save jazio/e65c80d99da5ce18dde86b1e158aad0f to your computer and use it in GitHub Desktop.
Install Docker
apt-get update
apt-get -y install apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
echo "deb https://apt.dockerproject.org/repo ubuntu-xenial main" > /etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
apt-get install -y docker-engine
service docker start
systemctl enable docker
@jazio
Copy link
Author

jazio commented Mar 6, 2018

sudo chmod +x ./docker-install.sh
./docker-install.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment