Skip to content

Instantly share code, notes, and snippets.

@alanwill
Last active March 8, 2017 07:03
Show Gist options
  • Save alanwill/55d0d27551155e7f4f0d to your computer and use it in GitHub Desktop.
Save alanwill/55d0d27551155e7f4f0d to your computer and use it in GitHub Desktop.
Install latest Docker CS Engine 1.10 on ubuntu. This assumes that `linux-image-extra-virtual` is already installed.
#!/bin/bash
curl -s 'https://sks-keyservers.net/pks/lookup?op=get&search=0xee6d536cf7dc86e2d7d56f59a178ac6c6238f52e' | apt-key add --import
apt-get update -y && apt-get install apt-transport-https -y
echo "deb https://packages.docker.com/1.10/apt/repo ubuntu-trusty main" | tee /etc/apt/sources.list.d/docker.list
apt-get update -y && sudo apt-get install docker-engine -y
service docker start
usermod -a -G docker ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment