Skip to content

Instantly share code, notes, and snippets.

@shichao-an
Last active August 29, 2015 14:15
Show Gist options
  • Save shichao-an/95de2daffb5cd85e1df8 to your computer and use it in GitHub Desktop.
Save shichao-an/95de2daffb5cd85e1df8 to your computer and use it in GitHub Desktop.
Install docker without UFW on Ubuntu 14.04
#!/bin/sh
[ -e /usr/lib/apt/methods/https ] || {
apt-get update
apt-get install apt-transport-https
}
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
curl -sSL https://get.docker.com/ubuntu/ | sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment