Skip to content

Instantly share code, notes, and snippets.

@jchauncey
Last active August 26, 2016 14:32
Show Gist options
  • Save jchauncey/8933ded8d63e31afcf5edb092a5f8379 to your computer and use it in GitHub Desktop.
Save jchauncey/8933ded8d63e31afcf5edb092a5f8379 to your computer and use it in GitHub Desktop.
#! /bin/sh
apt-get update
apt-get install -y apt-transport-https ca-certificates
apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070
echo "deb https://apt.dockerproject.org/repo ubuntu-trusty main" >> /etc/apt/sources.list.d/docker.list
apt-get update
apt-get purge lxc-docker
apt-cache policy docker-engine
apt-get install -y linux-image-extra-$(uname -r) linux-image-extra-virtual
apt-get install -y docker-engine
echo "DOCKER_OPTS=\"-H unix:///var/run/docker.sock -H tcp://0.0.0.0:5599\"" >> /etc/default/docker
service docker restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment