Skip to content

Instantly share code, notes, and snippets.

@baysao
Forked from ephrin/u-docker.sh
Created May 8, 2016 08:31
Show Gist options
  • Save baysao/62a0935feec9224728a2c5c79a7ec41a to your computer and use it in GitHub Desktop.
Save baysao/62a0935feec9224728a2c5c79a7ec41a to your computer and use it in GitHub Desktop.
docker ubuntu
[ -e /usr/lib/apt/methods/https ] || {
apt-get update
apt-get install -y apt-transport-https
}
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sh -c "echo deb https://get.docker.com/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
apt-get update
apt-get install -y --force-yes apparmor lxc-docker
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment